[PATCH] endianness bug: ntohl() misspelled as >> 24 in fh_verify().
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 1 Feb 2007 13:52:43 +0000 (13:52 +0000)
committerLinus 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

index 98338a569dc0b496434efcddc9a50f99afd7e8ae..c59d6fbb7a6bedb71446f33808bcb90ebf667670 100644 (file)
@@ -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))