diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-12 21:04:51 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-12 21:21:15 +0200 |
commit | b570a975ed276335dc7d148658c1f880ac0a507f (patch) | |
tree | 14fb6a82253c34fc65ed558bc97c0adbab21caf9 /Documentation | |
parent | NFSv4 release the sequence id in the return on close case (diff) | |
download | linux-b570a975ed276335dc7d148658c1f880ac0a507f.tar.xz linux-b570a975ed276335dc7d148658c1f880ac0a507f.zip |
NFSv4: Fix handling of revoked delegations by setattr
Currently, _nfs4_do_setattr() will use the delegation stateid if no
writeable open file stateid is available.
If the server revokes that delegation stateid, then the call to
nfs4_handle_exception() will fail to handle the error due to the
lack of a struct nfs4_state, and will just convert the error into
an EIO.
This patch just removes the requirement that we must have a
struct nfs4_state in order to invalidate the delegation and
retry.
Reported-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions