diff options
author | Jeff Layton <jlayton@redhat.com> | 2016-10-20 12:21:34 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-11-01 15:47:43 -0400 |
commit | 851238a22f3be7323feed6a62a6882c284b2f0a5 (patch) | |
tree | 22308c7ee8596b7328260ea6f929197c9a69abf6 /fs/nfsd/nfs4xdr.c | |
parent | 8f97514b423a0983e4c600099882a9c6613142d2 (diff) | |
download | linux-851238a22f3be7323feed6a62a6882c284b2f0a5.tar.gz linux-851238a22f3be7323feed6a62a6882c284b2f0a5.tar.bz2 linux-851238a22f3be7323feed6a62a6882c284b2f0a5.zip |
nfsd: fix error handling for clients that fail to return the layout
Currently, when the client continually returns NFS4ERR_DELAY on a
CB_LAYOUTRECALL, we'll give up trying to retransmit after two lease
periods, but leave the layout in place.
What we really need to do here is fence the client in this case. Have it
fall through to that code in that case instead of into the
NFS4ERR_NOMATCHING_LAYOUT case.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
0 files changed, 0 insertions, 0 deletions