]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: forbid all renames during grace period
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Nov 2018 16:47:20 +0000 (11:47 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 27 Nov 2018 21:24:01 +0000 (16:24 -0500)
commitddf5ddedec2f833862201b4bfbe8c11d64d3c4a1
tree3b66ec173c32a74430f91dd6a44da15433e65a6d
parentc3f21dd31539ead56af8ece1221209a13769e638
nfsd4: forbid all renames during grace period

The idea here was that renaming a file on a nosubtreecheck export would
make lookups of the old filehandle return STALE, making it impossible
for clients to reclaim opens.

But during the grace period I think we should also hold off on
operations that would break delegations.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c