aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-02-01 08:52:43 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-01 19:17:06 -0500
commitfc2dd2e51a1940acac665696e6a70a1a73dc90a4 (patch)
tree2d93ca70d56c3409360377dad5c5c2fb5cde7bfe /fs/nfsd
parenteb7972271720bfc64dc8bacc5b15f874c0bcc859 (diff)
[PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfsfh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c
index 98338a569dc0..c59d6fbb7a6b 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)
269 "acc=%x, error=%d\n", 269 "acc=%x, error=%d\n",
270 dentry->d_parent->d_name.name, 270 dentry->d_parent->d_name.name,
271 dentry->d_name.name, 271 dentry->d_name.name,
272 access, (error >> 24)); 272 access, ntohl(error));
273 } 273 }
274out: 274out:
275 if (exp && !IS_ERR(exp)) 275 if (exp && !IS_ERR(exp))