init: Support mounting root file systems over SMB
authorPaulo Alcantara (SUSE) <pc@cjr.nz>
Tue, 1 Oct 2019 17:10:27 +0000 (14:10 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2019 16:15:15 +0000 (12:15 -0400)
commit8902dd526020748ccf16f753befc287b534fdefd
treec30a26e411b134f218d2b7c6e26a279033b44d2c
parent1f6d768a09c61e2454d4d67aee91210301c72211
init: Support mounting root file systems over SMB

Add a new virtual device named /dev/cifs (0xfe) to tell the kernel to
mount the root file system over the network by using SMB protocol.

cifs_root_data() will be responsible to retrieve the parsed
information of the new command-line option (cifsroot=) and then call
do_mount_root() with the appropriate mount options for cifs.ko.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
init/do_mounts.c