]> asedeno.scripts.mit.edu Git - linux.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)
commitf8f71d00651325377ec125938ee8a29c1f7da6ef
tree3b66ec173c32a74430f91dd6a44da15433e65a6d
parentd8836f772422210517fc6b36283fa5f63dd789e8
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