diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-07 16:39:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-02 09:27:13 -0700 |
commit | 6e8768d198a2ea5f31dbd2fe679a62c605fcdbbd (patch) | |
tree | 4ce2349bbf32cb3d899bf613ead396f57dc72d7d /fs/btrfs/disk-io.c | |
parent | 5353a89765846be06f238a00ce9b38de14f69281 (diff) | |
download | kernel_samsung_tuna-6e8768d198a2ea5f31dbd2fe679a62c605fcdbbd.zip kernel_samsung_tuna-6e8768d198a2ea5f31dbd2fe679a62c605fcdbbd.tar.gz kernel_samsung_tuna-6e8768d198a2ea5f31dbd2fe679a62c605fcdbbd.tar.bz2 |
NFSv4: Return the delegation if the server returns NFS4ERR_OPENMODE
commit 3114ea7a24d3264c090556a2444fc6d2c06176d4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions