From: Al Viro Date: Thu, 1 Feb 2007 13:52:43 +0000 (+0000) Subject: [PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify(). X-Git-Tag: v2.6.20~33 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fc2dd2e51a1940acac665696e6a70a1a73dc90a4;p=linux-2.6-omap-h63xx.git [PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify(). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c index 98338a569dc..c59d6fbb7a6 100644 --- a/fs/nfsd/nfsfh.c +++ b/fs/nfsd/nfsfh.c @@ -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))