diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-27 17:54:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 08:56:35 -0700 |
commit | 034199be7b5b9efd9b99f34fe2f229f15e166865 (patch) | |
tree | a58cb8b5b4af06ad40b87434aef7679c35948827 /fs/cramfs | |
parent | d2fd339e9fa7343f521e72add938fd1120f3f8d9 (diff) |
nfsd: fix error values returned by nfsd4_lockt() when nfsd_open() fails
commit 04da6e9d63427b2d0fd04766712200c250b3278f upstream.
nfsd_open() already returns an NFS error value; only vfs_test_lock()
result needs to be fed through nfserrno(). Broken by commit 55ef12
(nfsd: Ensure nfsv4 calls the underlying filesystem on LOCKT)
three years ago...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions