patch-2.0.8 linux/include/linux/nfs_fs.h

Next file: linux/include/linux/nfs_fs_i.h
Previous file: linux/include/linux/ncp_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.7/linux/include/linux/nfs_fs.h linux/include/linux/nfs_fs.h
@@ -46,6 +46,10 @@
 #define NFS_RENAMED_DIR(inode)		((inode)->u.nfs_i.silly_rename_dir)
 #define NFS_READTIME(inode)		((inode)->u.nfs_i.read_cache_jiffies)
 #define NFS_OLDMTIME(inode)		((inode)->u.nfs_i.read_cache_mtime)
+#define NFS_ATTRTIMEO(inode)		((inode)->u.nfs_i.attrtimeo)
+#define NFS_MINATTRTIMEO(inode)		(S_ISREG((inode)->i_mode)?	\
+						NFS_SERVER(inode)->acregmin : \
+						NFS_SERVER(inode)->acdirmin)
 #define NFS_CACHEINV(inode) \
 do { \
 	NFS_READTIME(inode) = jiffies - 1000000; \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov