* [PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify().
@ 2007-02-01 13:52 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-02-01 13:52 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, neilb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
fs/nfsd/nfsfh.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c
index 98338a5..c59d6fb 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))
--
1.5.0-rc2.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-01 13:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 13:52 [PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify() Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®