projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel/fork: always deny write access to current MM exe_file
[linux-2.6-microblaze.git]
/
fs
/
kernel_read_file.c
diff --git
a/fs/kernel_read_file.c
b/fs/kernel_read_file.c
index
90d255f
..
87aac4c
100644
(file)
--- a/
fs/kernel_read_file.c
+++ b/
fs/kernel_read_file.c
@@
-160,7
+160,7
@@
int kernel_read_file_from_path_initns(const char *path, loff_t offset,
get_fs_root(init_task.fs, &root);
task_unlock(&init_task);
- file = file_open_root(
root.dentry, root.mn
t, path, O_RDONLY, 0);
+ file = file_open_root(
&roo
t, path, O_RDONLY, 0);
path_put(&root);
if (IS_ERR(file))
return PTR_ERR(file);