nfs: return compound hdr.status when there are no op replies
authorBenny Halevy <bhalevy@panasas.com>
Tue, 23 Dec 2008 21:06:13 +0000 (16:06 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 21:06:13 +0000 (16:06 -0500)
commitaadf61521199e5c0b2976002213819cafa41b897
tree65cf6521934b7aed16b0b832e45f85ec560100d5
parentc977a2ef40a38c45537ad03823d0a004f06373f0
nfs: return compound hdr.status when there are no op replies

When there are no op replies encoded in the compound reply
hdr.status still contains the overall status of the compound
rpc.  This can happen, e.g., when the server returns a
NFS4ERR_MINOR_VERS_MISMATCH error.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c