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
md/raid5: Replace deprecated CPU-hotplug functions.
[linux-2.6-microblaze.git]
/
fs
/
coredump.c
diff --git
a/fs/coredump.c
b/fs/coredump.c
index
c3d8fc1
..
07afb5d
100644
(file)
--- a/
fs/coredump.c
+++ b/
fs/coredump.c
@@
-755,8
+755,8
@@
void do_coredump(const kernel_siginfo_t *siginfo)
task_lock(&init_task);
get_fs_root(init_task.fs, &root);
task_unlock(&init_task);
task_lock(&init_task);
get_fs_root(init_task.fs, &root);
task_unlock(&init_task);
- cprm.file = file_open_root(
root.dentry, root.mnt
,
-
cn.corename,
open_flags, 0600);
+ cprm.file = file_open_root(
&root, cn.corename
,
+
open_flags, 0600);
path_put(&root);
} else {
cprm.file = filp_open(cn.corename, open_flags, 0600);
path_put(&root);
} else {
cprm.file = filp_open(cn.corename, open_flags, 0600);