diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-01 13:52:43 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-01 16:17:06 -0800 |
commit | fc2dd2e51a1940acac665696e6a70a1a73dc90a4 (patch) | |
tree | 2d93ca70d56c3409360377dad5c5c2fb5cde7bfe | |
parent | eb7972271720bfc64dc8bacc5b15f874c0bcc859 (diff) | |
download | linux-fc2dd2e51a1940acac665696e6a70a1a73dc90a4.tar.gz linux-fc2dd2e51a1940acac665696e6a70a1a73dc90a4.tar.bz2 linux-fc2dd2e51a1940acac665696e6a70a1a73dc90a4.zip |
[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>
-rw-r--r-- | 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 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) "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)) |