nfsd4: delay setting current filehandle till success
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 27 Jan 2012 21:26:02 +0000 (16:26 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 23:13:36 +0000 (18:13 -0500)
commit41fd1e42f861e50e49f3d44127596344f2505f01
treebeffdd3a5bbbf72eb6efa329aaa92022035f27fa
parent508dc6e110c6dbdc0bbe84298ccfe22de7538486
nfsd4: delay setting current filehandle till success

Compound processing stops on error, so the current filehandle won't be
used on error.  Thus the order here doesn't really matter.  It'll be
more convenient to do it later, though.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c