initmpfs: move rootfs code from fs/ramfs/ to init/
authorRob Landley <[email protected]>
Wed, 11 Sep 2013 21:26:10 +0000 (14:26 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Sep 2013 22:59:37 +0000 (15:59 -0700)
commit57f150a58c40cda598c31af8bceb8598f43c3e5f
treefde3e7fc48c97f0db5b3975fd74e12773f423fe2
parent4bbee76bc986af326be0a84ad661000cf89b29f6
initmpfs: move rootfs code from fs/ramfs/ to init/

When the rootfs code was a wrapper around ramfs, having them in the same
file made sense.  Now that it can wrap another filesystem type, move it in
with the init code instead.

This also allows a subsequent patch to access rootfstype= command line
arg.

Signed-off-by: Rob Landley <[email protected]>
Cc: Jeff Layton <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Jim Cromie <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/namespace.c
fs/ramfs/inode.c
include/linux/init.h
include/linux/ramfs.h
init/do_mounts.c