summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/inode.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2007-04-27 20:08:01 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2007-05-03 00:07:58 +0200
commit6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f (patch)
tree8076c0c9705054596c435075a9e3bae9e8566898 /fs/ocfs2/inode.h
parent[PATCH] ocfs2: use __set_current_state() (diff)
downloadlinux-6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f.tar.xz
linux-6e4b0d5692cd27d3c9be893a9f5939a9cafbb09f.zip
[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>
Diffstat (limited to 'fs/ocfs2/inode.h')
-rw-r--r--fs/ocfs2/inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
index 03ae075869ee..a41d0817121b 100644
--- a/fs/ocfs2/inode.h
+++ b/fs/ocfs2/inode.h
@@ -141,6 +141,7 @@ int ocfs2_aio_read(struct file *file, struct kiocb *req, struct iocb *iocb);
int ocfs2_aio_write(struct file *file, struct kiocb *req, struct iocb *iocb);
void ocfs2_set_inode_flags(struct inode *inode);
+void ocfs2_get_inode_flags(struct ocfs2_inode_info *oi);
static inline blkcnt_t ocfs2_inode_sector_count(struct inode *inode)
{