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:55:29 +0000 (07:55 -0700)
commit5aad7571c2cf4366b1b80c7d22446458fe75f629
tree39916feb02c4018e741d200ed9b97b7ecca371ed
parentf4a0a32b202fd49d255bfc689828f0a79d364866
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