OSDN Git Service

cifs: Add support for root file systems
authorPaulo Alcantara (SUSE) <paulo@paulo.ac>
Tue, 16 Jul 2019 22:04:50 +0000 (19:04 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:38 +0000 (11:43 -0500)
commit8eecd1c2e5bc73d33f3a544751305679dbf88eb4
tree3f908c5e60132624f86d3565d468a18ddd066d42
parent0892ba693f304ce3e9ca1f0a64a5cfc051454996
cifs: Add support for root file systems

Introduce a new CONFIG_CIFS_ROOT option to handle root file systems
over a SMB share.

In order to mount the root file system during the init process, make
cifs.ko perform non-blocking socket operations while mounting and
accessing it.

Cc: Steve French <smfrench@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Paulo Alcantara (SUSE) <paulo@paulo.ac>
Signed-off-by: Steve French <stfrench@microsoft.com>
Documentation/filesystems/cifs/cifsroot.txt [new file with mode: 0644]
fs/cifs/Kconfig
fs/cifs/Makefile
fs/cifs/cifsglob.h
fs/cifs/cifsroot.c [new file with mode: 0644]
fs/cifs/connect.c
include/linux/root_dev.h