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

From: Anton Blanchard (anton@linuxcare.com.au)
Date: Thu Dec 14 2000 - 23:08:44 EST


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 */
 };
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:31 EST