git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OMAP3: hwmod: add dev_attr for McBSP sidetone
[pandora-kernel.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index
e52389e
..
5a2c6eb
100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-790,6
+790,8
@@
struct file *nameidata_to_filp(struct nameidata *nd)
/* Pick up the filp from the open intent */
filp = nd->intent.open.file;
+ nd->intent.open.file = NULL;
+
/* Has the filesystem initialised the file for us? */
if (filp->f_path.dentry == NULL) {
path_get(&nd->path);