Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 365c8f58 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 6f220ed5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -4035,7 +4035,7 @@ static int nfs4_xdr_dec_open(struct rpc_rqst *rqstp, __be32 *p, struct nfs_openr
		goto out;
		goto out;
	if (decode_getfattr(&xdr, res->f_attr, res->server) != 0)
	if (decode_getfattr(&xdr, res->f_attr, res->server) != 0)
		goto out;
		goto out;
	if ((status = decode_restorefh(&xdr)) != 0)
	if (decode_restorefh(&xdr) != 0)
		goto out;
		goto out;
	decode_getfattr(&xdr, res->dir_attr, res->server);
	decode_getfattr(&xdr, res->dir_attr, res->server);
out:
out: