diff options
author | Darrick J. Wong | 2019-06-10 03:41:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-07-28 08:29:28 +0200 |
commit | 29171e82348cb0ce787120d42f0b94e8fba2bcae (patch) | |
tree | d6ded874ca5f70983e01ac0e94dc28fb9999966e /fs/nfs/pnfs.h | |
parent | perf/core: Fix race between close() and fork() (diff) | |
download | kernel-qcow2-linux-29171e82348cb0ce787120d42f0b94e8fba2bcae.tar.gz kernel-qcow2-linux-29171e82348cb0ce787120d42f0b94e8fba2bcae.tar.xz kernel-qcow2-linux-29171e82348cb0ce787120d42f0b94e8fba2bcae.zip |
ext4: don't allow any modifications to an immutable file
commit 2e53840362771c73eb0a5ff71611507e64e8eecd upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/pnfs.h')
0 files changed, 0 insertions, 0 deletions