diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-09 01:14:25 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 21:02:41 +0300 |
commit | 5f5f8b6d655fd947e899b1771c2f7cb581a06764 (patch) | |
tree | 8dc94349ca4347b12f63a73e91ee7984918a982f /fs/nfsd/nfs4xdr.c | |
parent | 68c522afd0b1936b48a03a4c8b81261e7597c62d (diff) | |
download | linux-5f5f8b6d655fd947e899b1771c2f7cb581a06764.tar.xz |
NFSD: Make nfsd4_remove() wait before returning NFS4ERR_DELAY
nfsd_unlink() can kick off a CB_RECALL (via
vfs_unlink() -> leases_conflict()) if a delegation is present.
Before returning NFS4ERR_DELAY, give the client holding that
delegation a chance to return it and then retry the nfsd_unlink()
again, once.
Link: https://bugzilla.linux-nfs.org/show_bug.cgi?id=354
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
0 files changed, 0 insertions, 0 deletions