]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext2,ext3,ext4: don't inherit APPEND_FL or IMMUTABLE_FL for new inodes
authorTheodore Ts'o <tytso@mit.edu>
Fri, 19 Aug 2011 23:19:32 +0000 (19:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Aug 2011 23:19:32 +0000 (19:19 -0400)
commit954cb417902be465219b63dcef8773153df77892
tree9392779edc7bc9c33efe68c2a94d5a90d1e79fd4
parent5eca14d09bf6ae0ff2eba905afbf6f3e00f59964
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: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
include/linux/ext2_fs.h
include/linux/ext3_fs.h