Skip to content
Commit 1cd9f097 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext2,ext3,ext4: don't inherit APPEND_FL or IMMUTABLE_FL for new inodes



This doesn't make much sense, and it exposes a bug in the kernel where
attempts to create a new file in an append-only directory using
O_CREAT will fail (but still leave a zero-length file).  This was
discovered when xfstests #79 was generalized so it could run on all
file systems.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Cc:stable@kernel.org
parent 8c0bec21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment