NFSv4: Don't fail nfs4_xdr_dec_open if decode_restorefh() failed

We can already easily recover from that inside _nfs4_proc_open().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust 2007-07-17 21:52:37 -04:00
parent 6f220ed5a8
commit 365c8f589a
1 changed files with 1 additions and 1 deletions

View File

@ -4035,7 +4035,7 @@ static int nfs4_xdr_dec_open(struct rpc_rqst *rqstp, __be32 *p, struct nfs_openr
goto out;
if (decode_getfattr(&xdr, res->f_attr, res->server) != 0)
goto out;
if ((status = decode_restorefh(&xdr)) != 0)
if (decode_restorefh(&xdr) != 0)
goto out;
decode_getfattr(&xdr, res->dir_attr, res->server);
out: