aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorYan <yanzheng@21cn.com>2008-01-08 15:54:37 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:59 -0400
commitb98b6767a0f6f9baa1d00eff64a43d58412ecdeb (patch)
treeb1c5346f462be12b268ff05049651bb3b880c7c9 /fs/btrfs/btrfs_inode.h
parentc31f8830f0dfd31e7e196b85ca1b39aef8b77d57 (diff)
Btrfs: Add inode flags support
This patch adds NODATASUM & NODATACOW inode flags support. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index f27e633f1742..9fc99883c70a 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -34,6 +34,7 @@ struct btrfs_inode {
34 * transid of the trans_handle that last modified this inode 34 * transid of the trans_handle that last modified this inode
35 */ 35 */
36 u64 last_trans; 36 u64 last_trans;
37 u32 flags;
37}; 38};
38static inline struct btrfs_inode *BTRFS_I(struct inode *inode) 39static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
39{ 40{