]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd: don't run get_file if nfs4_preprocess_stateid_op return error
authorfanchaoting <fanchaoting@cn.fujitsu.com>
Mon, 1 Apr 2013 13:07:22 +0000 (21:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 03:08:23 +0000 (20:08 -0700)
commitf1b384b6f67be458dabb31ed1e5938e1b125f5f5
treee54fe97c6d156e3927dc1cda56fa9c54c6d8f30e
parent73b12d302d65782ea3f072a230c939233f2ab4ec
nfsd: don't run get_file if nfs4_preprocess_stateid_op return error

commit b022032e195ffca83d7002d6b84297d796ed443b upstream.

we should return error status directly when nfs4_preprocess_stateid_op
return error.

Signed-off-by: fanchaoting <fanchaoting@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfs4proc.c