2000-12-15 04:40:00

by Anton Blanchard

[permalink] [raw]
Subject: [PATCH]: fix for nfs on 64 bit archs.


Hi,

Since we use bitops on wb_flags it needs to be unsigned long. With this
fix nfs works on sparc64 again.

Anton

--- linux/include/linux/nfs_page.h Wed Dec 6 22:19:17 2000
+++ linux_work/include/linux/nfs_page.h Fri Dec 15 14:38:18 2000
@@ -33,8 +33,8 @@
unsigned long wb_timeout; /* when to read/write/commit */
unsigned int wb_offset, /* Offset of read/write */
wb_bytes, /* Length of request */
- wb_count, /* reference count */
- wb_flags;
+ wb_count; /* reference count */
+ unsigned long wb_flags;
struct nfs_writeverf wb_verf; /* Commit cookie */
};