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)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 19:19:06 +0000 (15:19 -0400)
commitb022032e195ffca83d7002d6b84297d796ed443b
treeecbcc134db21887d908ec979c393d724dce52407
parent89876f8c0dbcc2947b13b9e22cf28c5308cee3c1
nfsd: don't run get_file if nfs4_preprocess_stateid_op return error

we should return error status directly when nfs4_preprocess_stateid_op
return error.

Signed-off-by: fanchaoting <fanchaoting@cn.fujitsu.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c