Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fc2dd2e51a1940acac665696e6a70a1a73dc90a4
Commit:     fc2dd2e51a1940acac665696e6a70a1a73dc90a4
Parent:     eb7972271720bfc64dc8bacc5b15f874c0bcc859
Author:     Al Viro <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 1 13:52:43 2007 +0000
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Feb 1 16:17:06 2007 -0800

    [PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify().
    
    Signed-off-by: Al Viro <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 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))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to