]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
nfsd4: our filesystems are normally case sensitive
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 5 Jun 2012 20:52:06 +0000 (16:52 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:39 +0000 (00:24 +0100)
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: Ben Hutchings <ben@decadent.org.uk>
fs/nfsd/nfs4xdr.c

index 9cfa60ae4bc307a6559ea2f2d9a5615e59e02e07..87a1746278ecbaee461101e7164101007f6e4499 100644 (file)
@@ -2236,7 +2236,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)