1 #ifndef _NFS_FS_I 2 #define _NFS_FS_I 3 4 #include <linux/nfs.h> 5 #include <linux/pipe_fs_i.h> 6 7 /* 8 * nfs fs inode data in memory 9 */ 10 struct nfs_inode_info { 11 struct pipe_inode_info pipeinfo; 12 struct nfs_fh fhandle; 13 /* 14 * read_cache_jiffies is when we started read-caching this inode, 15 * and read_cache_mtime is the mtime of the inode at that time. 16 * 17 * We need to invalidate the cache for this inode if 18 * 19 * jiffies - read_cache_jiffies > 30*HZ 20 * AND 21 * mtime != read_cache_mtime 22 */ 23 unsigned long read_cache_jiffies; 24 unsigned long read_cache_mtime; 25 }; 26 27 #endif