]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: warn and fail if trying to use rootfs without the config option
authorAurelien Aptel <aaptel@suse.com>
Thu, 18 Mar 2021 18:17:10 +0000 (19:17 +0100)
committerSteve French <stfrench@microsoft.com>
Fri, 19 Mar 2021 05:50:58 +0000 (00:50 -0500)
commita64bbbd9bccf02160c32b13b96bcfa023110dd6f
tree589e504c57af5b35526dac8c8e84d33a633eea82
parent238fbae1c7eec09ebf391226e2ecc32bd243fab5
cifs: warn and fail if trying to use rootfs without the config option

If CONFIG_CIFS_ROOT is not set, rootfs mount option is invalid

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
CC: <stable@vger.kernel.org> # v5.11
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/fs_context.c