diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-13 16:19:44 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-07-16 00:11:15 +0200 |
commit | f0e1266ed24b8a69655e1ab7fb618dbf6730879b (patch) | |
tree | 4197e3dc4739cd051eeb6340b3ff5e4c152b5d20 /Documentation | |
parent | ovl: force read-only sb on failure to create index dir (diff) | |
download | linux-f0e1266ed24b8a69655e1ab7fb618dbf6730879b.tar.xz linux-f0e1266ed24b8a69655e1ab7fb618dbf6730879b.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/overlayfs.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/overlayfs.rst b/Documentation/filesystems/overlayfs.rst index 660dbaf0b9b8..fcda5d6ba9ac 100644 --- a/Documentation/filesystems/overlayfs.rst +++ b/Documentation/filesystems/overlayfs.rst @@ -560,8 +560,8 @@ When the NFS export feature is enabled, all directory index entries are verified on mount time to check that upper file handles are not stale. This verification may cause significant overhead in some cases. -Note: the mount options index=off,nfs_export=on are conflicting and will -result in an error. +Note: the mount options index=off,nfs_export=on are conflicting for a +read-write mount and will result in an error. Testsuite |