Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=deee9369b993b52a8e2f25683b4a67be7a65e8ae
Commit:     deee9369b993b52a8e2f25683b4a67be7a65e8ae
Parent:     65bbf6bdbba0f74e254f706bfb00fe533974f4f1
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Mon Aug 27 11:33:00 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Sat Sep 1 10:14:38 2007 -0400

    NFSv4: Ensure that we pass the correct dentry to nfs4_intent_set_file
    
    This patch fixes an Oops that was reported by Gabriel Barazer.
    
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
---
 fs/nfs/nfs4proc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 036d862..4b90e17 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1434,7 +1434,7 @@ nfs4_atomic_open(struct inode *dir, struct dentry 
*dentry, struct nameidata *nd)
        }
        res = d_add_unique(dentry, igrab(state->inode));
        if (res != NULL)
-               dentry = res;
+               path.dentry = res;
        nfs4_intent_set_file(nd, &path, state);
        return res;
 }
-
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