Skip to contentSkip to conversation

endianness bug: ntohl() misspelled as >> 24 in fh_verify().

PATCH New Al Viro 1 participant 1 message Feb 1, 2007 NFS server

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 endianness bug: ntohl() misspelled as >> 24 in fh_verify().

---
 fs/nfsd/nfsfh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/nfsd/nfsfh.c +1 -1
index 98338a5..c59d6fb 100644
@@ -269,7 +269,7 @@ fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access)
 			"acc=%x, error=%d\n",
 			dentry->d_parent->d_name.name,
 			dentry->d_name.name,
-			access, (error >> 24));
+			access, ntohl(error));
 	}
 out:
 	if (exp && !IS_ERR(exp))
Signature · 1 line
1.5.0-rc2.GIT