Skip to contentSkip to conversation

xdr annotations: fs/nfs/callback*

PATCH New Al Viro 1 participant 1 message Oct 10, 2006 NFS client

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 9/25 xdr annotations: fs/nfs/callback*

on-the-wire data is big-endian

[mostly pulled from Alexey's patch]

---
 fs/nfs/callback.h     |    4 ++--
 fs/nfs/callback_xdr.c |   44 ++++++++++++++++++++++----------------------
 2 files changed, 24 insertions(+), 24 deletions(-)
fs/nfs/callback.h +2 -2
index 6921d82..db3d791 100644
@@ -31,10 +31,10 @@ struct cb_compound_hdr_arg {
 };
 
 struct cb_compound_hdr_res {
-	uint32_t *status;
+	__be32 *status;
 	int taglen;
 	const char *tag;
-	uint32_t *nops;
+	__be32 *nops;
 };
 
 struct cb_getattrargs {
fs/nfs/callback_xdr.c +22 -22

156 lines not on this page · raw message

Signature · 1 line
1.4.2.GIT