Skip to content

Commit

Permalink
[PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify().
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 2, 2007
1 parent eb79722 commit fc2dd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfsfh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fc2dd2e

Please sign in to comment.