]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: fix error values returned by nfsd4_lockt() when nfsd_open() fails
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 04:00:04 +0000 (00:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 14:12:01 +0000 (10:12 -0400)
commit99a565db9cbf47e7b6424891727f2ffb707464a4
tree94045bad930d8a89f8b6e9ef8a26b6b6d0dfb3f1
parentc37af31d6b8a4b43aab55052320e6049cfd3f1e9
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>
fs/nfsd/nfs4state.c