Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=365c8f589afbc27d8cf42d396475017bc1c462fd
Commit:     365c8f589afbc27d8cf42d396475017bc1c462fd
Parent:     6f220ed5a84d87645a84ae22105dc565f3f248b5
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 21:52:37 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Thu Jul 19 15:09:03 2007 -0400

    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 <[EMAIL PROTECTED]>
---
 fs/nfs/nfs4xdr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index c087384..99a123d 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -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:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to