patch-2.4.0-test1 linux/include/linux/nfs_flushd.h
Next file: linux/include/linux/pci_ids.h
Previous file: linux/include/linux/major.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed May 24 19:53:20 2000
- Orig file:
v2.3.99-pre9/linux/include/linux/nfs_flushd.h
- Orig date:
Mon Mar 27 08:08:32 2000
diff -u --recursive --new-file v2.3.99-pre9/linux/include/linux/nfs_flushd.h linux/include/linux/nfs_flushd.h
@@ -4,6 +4,7 @@
#ifdef __KERNEL__
+#include <asm/atomic.h>
#include <linux/nfs_fs_sb.h>
/*
@@ -43,7 +44,7 @@
* This is the per-mount writeback cache.
*/
struct nfs_reqlist {
- unsigned int nr_requests;
+ atomic_t nr_requests;
unsigned long runat;
wait_queue_head_t request_wait;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)