]> err.no Git - linux-2.6/commit
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)
commitc228c24bf1138d4757dbe20615df655815446da3
tree97ee91f5a0eb5f3944f20c3d147a6b3de2d279ab
parent24b8b44780a2c53ecb738f4a1c08d114f5eda27c
nfsd: fix compound state allocation error handling

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>
fs/nfsd/nfs4proc.c