]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Mar 2021 10:54:07 +0000 (11:54 +0100)
commite13f3d5f2a928ba49b8c607ee73a3707563649bc
tree9f0d9e672d0e60b895182c16ca17a393715f3cbb
parentec94bb3aadcea5899faf0334b9b1690750b41915
cifs: warn and fail if trying to use rootfs without the config option

commit af3ef3b1031634724a3763606695ebcd113d782b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/fs_context.c