]> git.baikalelectronics.ru Git - kernel.git/commit
ext3: copy i_flags to inode flags on write
authorJan Kara <jack@suse.cz>
Tue, 8 May 2007 07:31:04 +0000 (00:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:13 +0000 (11:15 -0700)
commitc3c34c8de2b7e248b0470f19b8ff6e2481b403e7
treeabf64c561c22b1aa1ba03f2dfb0bdef4d156ca8a
parenta222e0d8dac7580b0669a387a56de2a733677bf8
ext3: copy i_flags to inode flags on write

Propagate flags such as S_APPEND, S_IMMUTABLE, etc.  from i_flags into
ext2-specific i_flags.  Hence, when someone sets these flags via a different
interface than ioctl, they are stored correctly.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/ext2.h
fs/ext2/inode.c
fs/ext2/ioctl.c