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
vfs: use ERR_CAST for err-ptr tossing in lookup_instantiate_filp
[pandora-kernel.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index
b52cf01
..
739b751
100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-793,7
+793,7
@@
out:
return nd->intent.open.file;
out_err:
release_open_intent(nd);
- nd->intent.open.file =
(struct file *)dentry
;
+ nd->intent.open.file =
ERR_CAST(dentry)
;
goto out;
}
EXPORT_SYMBOL_GPL(lookup_instantiate_filp);