]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
initmpfs: move rootfs code from fs/ramfs/ to init/
authorRob Landley <rob@landley.net>
Wed, 11 Sep 2013 21:26:10 +0000 (14:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <rob@landley.net>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namespace.c
fs/ramfs/inode.c
include/linux/init.h
include/linux/ramfs.h
init/do_mounts.c