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 * This is to support the clandestine rename on unlink. 27 * Instead of the directory inode, we might as well keep its 28 * NFS FH, but that requires a kmalloc. 29 */ 30 struct inode *silly_rename_dir; 31 }; 32 33 #endif