summaryrefslogtreecommitdiffstats
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 f27e633f174..9fc99883c70 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -34,6 +34,7 @@ struct btrfs_inode {
* transid of the trans_handle that last modified this inode
*/
u64 last_trans;
+ u32 flags;
};
static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
{