X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=init%2Fdo_mounts.c;h=02e3ca4fc5271f33c4384d3ba8a77c8c4e5e306e;hb=cad719d86e9dbd06634eaba6401e022c8101d6b2;hp=dd7ee5f203f3f9c476a92d9ef39257a2791b132f;hpb=5ad4e53bd5406ee214ddc5a41f03f779b8b2d526;p=safe%2Fjmp%2Flinux-2.6 diff --git a/init/do_mounts.c b/init/do_mounts.c index dd7ee5f..02e3ca4 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -231,7 +232,8 @@ static int __init do_mount_root(char *name, char *fs, int flags, void *data) void __init mount_block_root(char *name, int flags) { - char *fs_names = __getname(); + char *fs_names = __getname_gfp(GFP_KERNEL + | __GFP_NOTRACK_FALSE_POSITIVE); char *p; #ifdef CONFIG_BLOCK char b[BDEVNAME_SIZE]; @@ -414,7 +416,7 @@ void __init prepare_namespace(void) mount_root(); out: + devtmpfs_mount("dev"); sys_mount(".", "/", NULL, MS_MOVE, NULL); sys_chroot("."); } -