nfsd: fix compound state allocation error handling
authorAndy Adamson <andros@netapp.com>
Thu, 21 Aug 2008 12:42:16 +0000 (08:42 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 1 Sep 2008 18:17:48 +0000 (14:17 -0400)
Move the cstate_alloc call so that if it fails, the response is setup to
encode the NFS error. The out label now means that the
nfsd4_compound_state has not been allocated.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found