OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb79722
)
[PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify().
author
Al Viro
<viro@ftp.linux.org.uk>
Thu, 1 Feb 2007 13:52:43 +0000
(13:52 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 2 Feb 2007 00:17:06 +0000
(16:17 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/nfsfh.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfsfh.c
b/fs/nfsd/nfsfh.c
index
98338a5
..
c59d6fb
100644
(file)
--- 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))