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

Next file: linux-2.4.21/include/linux/nfsd/const.h
Previous file: linux-2.4.21/include/linux/netfilter_ipv6/ip6t_rt.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/linux/nfs_fs.h linux-2.4.21/include/linux/nfs_fs.h
@@ -269,6 +269,10 @@
 extern int  nfs_scan_lru_read(struct nfs_server *, struct list_head *);
 extern int  nfs_scan_lru_read_timeout(struct nfs_server *, struct list_head *);
 
+#define NFS_SetPageSync(page)		set_bit(PG_fs_1, &(page)->flags)
+#define NFS_ClearPageSync(page)		clear_bit(PG_fs_1, &(page)->flags)
+#define NFS_TestClearPageSync(page)	test_and_clear_bit(PG_fs_1, &(page)->flags)
+
 /*
  * linux/fs/mount_clnt.c
  * (Used only by nfsroot module)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)