]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nfs: remove incorrect usage of nfs4 compound response hdr.status
authorBenny Halevy <bhalevy@panasas.com>
Tue, 23 Dec 2008 21:06:14 +0000 (16:06 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 21:06:14 +0000 (16:06 -0500)
commit374130770efc80418b155b2966ff958495e03948
treeca6f284a742ee1c6165beb10ca19cd919596bcee
parentaadf61521199e5c0b2976002213819cafa41b897
nfs: remove incorrect usage of nfs4 compound response hdr.status

3 call sites look at hdr.status before returning success.
hdr.status must be zero in this case so there's no point in this.

Currently, hdr.status is correctly processed at decode_op_hdr time
if the op status cannot be decoded.

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