diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-07-13 16:19:43 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-07-16 00:11:15 +0200 |
commit | 470c15636125d1591bc901f6aa2d8e4a60ed2190 (patch) | |
tree | e3f64b6e6167e7bf9f5e2483b404933b5385bd1e /security | |
parent | ovl: fix regression with re-formatted lower squashfs (diff) | |
download | linux-470c15636125d1591bc901f6aa2d8e4a60ed2190.tar.xz linux-470c15636125d1591bc901f6aa2d8e4a60ed2190.zip |
ovl: force read-only sb on failure to create index dir
With index feature enabled, on failure to create index dir, overlay is
being mounted read-only. However, we do not forbid user to remount overlay
read-write. Fix that by setting ofs->workdir to NULL, which prevents
remount read-write.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions