/* FUSE caches dentries and attributes with separate timeout. The time in jiffies until the dentry/attributes are valid is stored in dentry->d_time and fuse_inode->i_time respectively. Calculate the time in jiffies until a dentry/attributes are valid  */
static u64 time_to_jiffies(unsigned long sec, unsigned long nsec)
/* FUSE caches dentries and attributes with separate timeout. The time in jiffies until the dentry/attributes are valid is stored in dentry->d_time and fuse_inode->i_time respectively. Calculate the time in jiffies until a dentry/attributes are valid  */
static u64 time_to_jiffies(unsigned long sec, unsigned long nsec)
{
	if (sec || nsec) {
		struct timespec ts = {sec, nsec};
		return get_jiffies_64() + timespec_to_jiffies(&ts);
	} else
		return 0;
}