summaryrefslogtreecommitdiffstats
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-06-09 21:41:41 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-06-09 21:41:41 -0400
commit2e53840362771c73eb0a5ff71611507e64e8eecd (patch)
treefa46d95e468009f30162020ddb03322ebba1f803 /fs/ext4/file.c
parenta49773064bc2284bf7fe57c3492897135f65a37c (diff)
downloadlinux-stable-2e53840362771c73eb0a5ff71611507e64e8eecd.tar.gz
linux-stable-2e53840362771c73eb0a5ff71611507e64e8eecd.tar.bz2
linux-stable-2e53840362771c73eb0a5ff71611507e64e8eecd.zip
ext4: don't allow any modifications to an immutable file
Don't allow any modifications to a file that's marked immutable, which means that we have to flush all the writable pages to make the readonly and we have to check the setattr/setflags parameters more closely. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/file.c')
0 files changed, 0 insertions, 0 deletions