orangefs: don't use d_time
Instead use d_fsdata which is the same size. Hoping to get rid of d_time, which is used by very few filesystems by this time. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:

committed by
Mike Marshall

parent
d62a9025ae
commit
804b1737d7
@@ -580,4 +580,11 @@ static inline void orangefs_i_size_write(struct inode *inode, loff_t i_size)
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void orangefs_set_timeout(struct dentry *dentry)
|
||||
{
|
||||
unsigned long time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000;
|
||||
|
||||
dentry->d_fsdata = (void *) time;
|
||||
}
|
||||
|
||||
#endif /* __ORANGEFSKERNEL_H */
|
||||
|
Reference in New Issue
Block a user