summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorPaulo Alcantara (SUSE) <paulo@paulo.ac>2019-07-17 01:04:50 +0300
committerSteve French <stfrench@microsoft.com>2019-09-16 19:43:38 +0300
commit8eecd1c2e5bc73d33f3a544751305679dbf88eb4 (patch)
tree3f908c5e60132624f86d3565d468a18ddd066d42 /include/linux/root_dev.h
parent0892ba693f304ce3e9ca1f0a64a5cfc051454996 (diff)
downloadlinux-8eecd1c2e5bc73d33f3a544751305679dbf88eb4.tar.xz
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>
Diffstat (limited to 'include/linux/root_dev.h')
-rw-r--r--include/linux/root_dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/root_dev.h b/include/linux/root_dev.h
index bab671b0782f..4e78651371ba 100644
--- a/include/linux/root_dev.h
+++ b/include/linux/root_dev.h
@@ -8,6 +8,7 @@
enum {
Root_NFS = MKDEV(UNNAMED_MAJOR, 255),
+ Root_CIFS = MKDEV(UNNAMED_MAJOR, 254),
Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
Root_RAM1 = MKDEV(RAMDISK_MAJOR, 1),
Root_FD0 = MKDEV(FLOPPY_MAJOR, 0),