patch-1.3.72 linux/include/linux/nfs_fs.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/msdos_fs_sb.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Mar 8 15:51:34 1996
- Orig file:
v1.3.71/linux/include/linux/nfs_fs.h
- Orig date:
Tue Feb 20 14:37:28 1996
diff -u --recursive --new-file v1.3.71/linux/include/linux/nfs_fs.h linux/include/linux/nfs_fs.h
@@ -45,6 +45,12 @@
#define NFS_FH(inode) (&(inode)->u.nfs_i.fhandle)
#define NFS_READTIME(inode) ((inode)->u.nfs_i.read_cache_jiffies)
#define NFS_OLDMTIME(inode) ((inode)->u.nfs_i.read_cache_mtime)
+#define NFS_CACHEINV(inode) \
+do { \
+ NFS_READTIME(inode) = jiffies - 1000000; \
+ NFS_OLDMTIME(inode) = 0; \
+} while (0)
+
#ifdef __KERNEL__
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this