]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: copy i_flags to inode flags on write
authorJan Kara <jack@suse.cz>
Wed, 18 Jul 2007 13:24:20 +0000 (09:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jul 2007 13:24:20 +0000 (09:24 -0400)
commit02ac70299fe0236c42066787d772ab4273e0a0fc
treefff8ab26370c0e466d96fb99bf3dc566b909a104
parentd9334291e228d6ac75f61f3e75355fb7c423c42a
ext4: copy i_flags to inode flags on write

Propagate flags such as S_APPEND, S_IMMUTABLE, etc. from i_flags into
ext4-specific i_flags.  Quota code changes these flags on quota files
(to make it harder for sysadmin to screw himself) and these changes were
not correctly propagated into the filesystem.

(This is a forward port patch from ext3)

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
fs/ext4/ioctl.c
include/linux/ext4_fs.h