nfsd4: fix test_stateid error reply encoding
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Feb 2014 21:31:42 +0000 (16:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 May 2014 14:51:42 +0000 (07:51 -0700)
commitc2189c7fedb781f3dd14b4df162661e36a85cc02
treef913a63c0c1d04c74cd8af30ff5c4b72439768fa
parent9acc531f6038cccb95a7bf4d26469196764e6d53
nfsd4: fix test_stateid error reply encoding

commit a11fcce1544df08c723d950ff0edef3adac40405 upstream.

If the entire operation fails then there's nothing to encode.

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