Skip to contentSkip to conversation

: fix for nfs on 64 bit archs.

PATCH New Anton Blanchard 1 participant 1 message Dec 15, 2000 NFS client

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : 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

include/linux/nfs_page.h +2 -2
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/