NFSD: use nfserr for status after decode_cb_op_status

Bugs introduced in 85a5648019
"NFSD: Update XDR decoders in NFSv4 callback client"

Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Benny Halevy 2011-01-13 11:25:31 +02:00 committed by J. Bruce Fields
parent 541ce98c10
commit 0af3f814cc
1 changed files with 2 additions and 4 deletions

View File

@ -484,7 +484,7 @@ static int decode_cb_sequence4res(struct xdr_stream *xdr,
out:
return status;
out_default:
return nfs_cb_stat_to_errno(status);
return nfs_cb_stat_to_errno(nfserr);
}
/*
@ -564,11 +564,9 @@ static int nfs4_xdr_dec_cb_recall(struct rpc_rqst *rqstp,
if (unlikely(status))
goto out;
if (unlikely(nfserr != NFS4_OK))
goto out_default;
status = nfs_cb_stat_to_errno(nfserr);
out:
return status;
out_default:
return nfs_cb_stat_to_errno(status);
}
/*