commit | 3114ea7a24d3264c090556a2444fc6d2c06176d4 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 07 16:39:06 2012 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 07 17:11:19 2012 -0500 |
tree | 50b8f1f3f43c6eb93093abec368c070e2efdc7d2 | |
parent | cf470c3e004efe16d73dc8ba9b29bdc9a5327cda [diff] |
NFSv4: Return the delegation if the server returns NFS4ERR_OPENMODE If a setattr() fails because of an NFS4ERR_OPENMODE error, it is probably due to us holding a read delegation. Ensure that the recovery routines return that delegation in this case. Reported-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org