nfsd4: our filesystems are normally case sensitive
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 5 Jun 2012 20:52:06 +0000 (16:52 -0400)
committerWilly Tarreau <w@1wt.eu>
Sun, 7 Oct 2012 21:38:07 +0000 (23:38 +0200)
commit 2930d381d22b9c56f40dd4c63a8fa59719ca2c3c upstream.

Actually, xfs and jfs can optionally be case insensitive; we'll handle
that case in later patches.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
fs/nfsd/nfs4xdr.c

index 4a82a96c638e51d84917e0a345560602f01a0c62..6d2775748077a72b0edbeade4bca5e9d460faab6 100644 (file)
@@ -1955,7 +1955,7 @@ out_acl:
        if (bmval0 & FATTR4_WORD0_CASE_INSENSITIVE) {
                if ((buflen -= 4) < 0)
                        goto out_resource;
-               WRITE32(1);
+               WRITE32(0);
        }
        if (bmval0 & FATTR4_WORD0_CASE_PRESERVING) {
                if ((buflen -= 4) < 0)