From: J. Bruce Fields Date: Tue, 5 Jun 2012 20:52:06 +0000 (-0400) Subject: nfsd4: our filesystems are normally case sensitive X-Git-Tag: Ubuntu-5.13.0-19.19~24084^2~29 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2930d381d22b9c56f40dd4c63a8fa59719ca2c3c;p=mirror_ubuntu-jammy-kernel.git nfsd4: our filesystems are normally case sensitive Actually, xfs and jfs can optionally be case insensitive; we'll handle that case in later patches. Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 4949667c84ea..6322df36031f 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -2259,7 +2259,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)