https://github.com/torvalds/linux
Revision 470c15636125d1591bc901f6aa2d8e4a60ed2190 authored by Amir Goldstein on 13 July 2020, 14:19:43 UTC, committed by Miklos Szeredi on 15 July 2020, 22:11:15 UTC
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>
1 parent a888db3
History
Tip revision: 470c15636125d1591bc901f6aa2d8e4a60ed2190 authored by Amir Goldstein on 13 July 2020, 14:19:43 UTC
ovl: force read-only sb on failure to create index dir
Tip revision: 470c156
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.4 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 547.5 KB
Makefile -rw-r--r-- 60.6 KB
README -rw-r--r-- 727 bytes

README

back to top