]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit4f99ed67cc1cf5302ea18aa042d75641b61a0a1b
treeabf64c561c22b1aa1ba03f2dfb0bdef4d156ca8a
parent28ec039c21839914389975b896160a815ffd8b83
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