]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "nfsd4: support change_attr_type attribute"
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 30 Nov 2020 22:46:18 +0000 (17:46 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 9 Dec 2020 14:39:38 +0000 (09:39 -0500)
commite1e8ff31ec2bb0c4011edd2f246cded1425f182c
tree102d7f2595c3ef9f484a81fe057f0d0e83882f0a
parent785ddcd31effbdbdcec9f9f6a6dd3f035f834a9d
Revert "nfsd4: support change_attr_type attribute"

This reverts commit 2d3d74ed047882359ab51935d8855690bf406165.

We're still factoring ctime into our change attribute even in the
IS_I_VERSION case.  If someone sets the system time backwards, a client
could see the change attribute go backwards.  Maybe we can just say
"well, don't do that", but there's some question whether that's good
enough, or whether we need a better guarantee.

Also, the client still isn't actually using the attribute.

While we're still figuring this out, let's just stop returning this
attribute.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsd.h
include/linux/nfs4.h