diff mbox

[4/7] nfsd4: our filesystems are normally case sensitive

Message ID 1341936466-3821-5-git-send-email-bfields@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bruce Fields July 10, 2012, 4:07 p.m. UTC
From: "J. Bruce Fields" <bfields@redhat.com>

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

Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
---
 fs/nfsd/nfs4xdr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christoph Hellwig July 10, 2012, 5:34 p.m. UTC | #1
On Tue, Jul 10, 2012 at 12:07:43PM -0400, J. Bruce Fields wrote:
> From: "J. Bruce Fields" <bfields@redhat.com>
> 
> Actually, xfs can optionally be case insensitive; we'll handle that case
> in later patches.

The same is true for jfs, btw.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
J. Bruce Fields July 10, 2012, 7:21 p.m. UTC | #2
On Tue, Jul 10, 2012 at 01:34:32PM -0400, Christoph Hellwig wrote:
> On Tue, Jul 10, 2012 at 12:07:43PM -0400, J. Bruce Fields wrote:
> > From: "J. Bruce Fields" <bfields@redhat.com>
> > 
> > Actually, xfs can optionally be case insensitive; we'll handle that case
> > in later patches.
> 
> The same is true for jfs, btw.

Oops, I missed that.

I need to resend the patches to test for that soon.

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 4949667..6322df3 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)