OSDN Git Service

[PATCH] Copy i_flags to ocfs2 inode flags on write
authorJan Kara <jack@suse.cz>
Fri, 27 Apr 2007 18:08:01 +0000 (11:08 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 2 May 2007 22:07:58 +0000 (15:07 -0700)
commit6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f
tree8076c0c9705054596c435075a9e3bae9e8566898
parent5c2c9d383ef7f7cfc02d6355798b95988de359b4
[PATCH] Copy i_flags to ocfs2 inode flags on write

Propagate flags such as S_APPEND, S_IMMUTABLE, etc. from i_flags into
ocfs2-specific ip_attr. 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: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/inode.c
fs/ocfs2/inode.h
fs/ocfs2/ioctl.c