git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: add an init_chdir helper
[sfrench/cifs-2.6.git]
/
init
/
do_mounts.c
diff --git
a/init/do_mounts.c
b/init/do_mounts.c
index 83db87b6e5d1e0a056f7bf5f470768e8b542a942..a7581c6e85f2686ae5b1d6f8dd3113d93b42381e 100644
(file)
--- a/
init/do_mounts.c
+++ b/
init/do_mounts.c
@@
-408,7
+408,7
@@
static int __init do_mount_root(const char *name, const char *fs,
if (ret)
goto out;
-
ksys
_chdir("/root");
+
init
_chdir("/root");
s = current->fs->pwd.dentry->d_sb;
ROOT_DEV = s->s_dev;
printk(KERN_INFO