projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65bbf6b
)
NFSv4: Ensure that we pass the correct dentry to nfs4_intent_set_file
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 27 Aug 2007 15:33:00 +0000
(11:33 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 1 Sep 2007 14:14:38 +0000
(10:14 -0400)
This patch fixes an Oops that was reported by Gabriel Barazer.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index
036d862
..
4b90e17
100644
(file)
--- 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;
}