summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-04-15 14:30:14 -0400
committerChris Mason <chris.mason@oracle.com>2009-04-15 14:30:14 -0400
commitcc04d99e90b4981b188e3308eaa1fee68af08d54 (patch)
treebcc3ecc4e259da15adb1fc60aeac3dbf074870d3 /ctree.h
parentb8420fabb8c675dd607eb98ff362ac69a18b4264 (diff)
Add scan of the btrfs log tree to btrfs-debug-tree
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 593578f4..8e7f8845 100644
--- a/ctree.h
+++ b/ctree.h
@@ -479,6 +479,10 @@ struct btrfs_inode_item {
struct btrfs_timespec otime;
} __attribute__ ((__packed__));
+struct btrfs_dir_log_item {
+ __le64 end;
+} __attribute__ ((__packed__));
+
struct btrfs_dir_item {
struct btrfs_disk_key location;
__le64 transid;
@@ -1194,6 +1198,8 @@ static inline void btrfs_set_item_key(struct extent_buffer *eb,
write_eb_member(eb, item, struct btrfs_item, key, disk_key);
}
+BTRFS_SETGET_FUNCS(dir_log_end, struct btrfs_dir_log_item, end, 64);
+
/*
* struct btrfs_root_ref
*/