summaryrefslogtreecommitdiff
path: root/fs/ocfs2/inode.h
diff options
context:
space:
mode:
authorHerbert Poetzl <herbert@13thfloor.at>2006-07-03 17:27:12 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-09-20 15:48:39 -0700
commitca4d147e62df370c334898464023aa7f9126abe1 (patch)
treeaff39cd19c5b0a95a1fd85caf439c4aa69c5830e /fs/ocfs2/inode.h
parentb4c98f625fffee3a6f633082e9e4be3e952ca2ab (diff)
downloadlinux-3.10-ca4d147e62df370c334898464023aa7f9126abe1.tar.gz
linux-3.10-ca4d147e62df370c334898464023aa7f9126abe1.tar.bz2
linux-3.10-ca4d147e62df370c334898464023aa7f9126abe1.zip
ocfs2: add ext2 attributes
Support immutable, and other attributes. Some renaming and other minor fixes done by myself. Signed-off-by: Herbert Poetzl <herbert@13thfloor.at> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.h')
-rw-r--r--fs/ocfs2/inode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
index 35140f6cf84..4d1e5399256 100644
--- a/fs/ocfs2/inode.h
+++ b/fs/ocfs2/inode.h
@@ -56,6 +56,7 @@ struct ocfs2_inode_info
struct ocfs2_journal_handle *ip_handle;
u32 ip_flags; /* see below */
+ u32 ip_attr; /* inode attributes */
/* protected by recovery_lock. */
struct inode *ip_next_orphan;
@@ -142,4 +143,6 @@ int ocfs2_mark_inode_dirty(struct ocfs2_journal_handle *handle,
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);
+
#endif /* OCFS2_INODE_H */