diff options
author | Casey Bodley <cbodley@citi.umich.edu> | 2011-07-23 14:58:10 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-23 14:58:17 -0400 |
commit | 0c12eaffdf09466f36a9ffe970dda8f4aeb6efc0 (patch) | |
tree | f799f3f33325fbe6411341375a43b0d9dba7e920 /net | |
parent | 8fb47a4fbf858a164e973b8ea8ef5e83e61f2e50 (diff) | |
download | op-kernel-dev-0c12eaffdf09466f36a9ffe970dda8f4aeb6efc0.zip op-kernel-dev-0c12eaffdf09466f36a9ffe970dda8f4aeb6efc0.tar.gz |
nfsd: don't break lease on CLAIM_DELEGATE_CUR
CLAIM_DELEGATE_CUR is used in response to a broken lease; allowing it
to break the lease and return EAGAIN leaves the client unable to make
progress in returning the delegation
nfs4_get_vfs_file() now takes struct nfsd4_open for access to the
claim type, and calls nfsd_open() with NFSD_MAY_NOT_BREAK_LEASE when
claim type is CLAIM_DELEGATE_CUR
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions