]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: fix mount option checks for nfs_export with no upperdir
authorAmir Goldstein <amir73il@gmail.com>
Mon, 13 Jul 2020 14:19:44 +0000 (17:19 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 15 Jul 2020 22:11:15 +0000 (00:11 +0200)
commit58cb3125af971af20aa93ee46259391b3998d687
tree4197e3dc4739cd051eeb6340b3ff5e4c152b5d20
parentc7cf2e461e06d80ad0fb447e151de570418e9fc3
ovl: fix mount option checks for nfs_export with no upperdir

Without upperdir mount option, there is no index dir and the dependency
checks nfs_export => index for mount options parsing are incorrect.

Allow the combination nfs_export=on,index=off with no upperdir and move
the check for dependency redirect_dir=nofollow for non-upper mount case
to mount options parsing.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Documentation/filesystems/overlayfs.rst
fs/overlayfs/super.c