commit | 04da6e9d63427b2d0fd04766712200c250b3278f | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 13 00:00:04 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 13 10:12:01 2012 -0400 |
tree | 94045bad930d8a89f8b6e9ef8a26b6b6d0dfb3f1 | |
parent | 96f6f98501196d46ce52c2697dd758d9300c63f5 [diff] |
nfsd: fix error values returned by nfsd4_lockt() when nfsd_open() fails 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>