summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-02-28 15:29:47 -0500
committerChris Mason <chris.mason@oracle.com>2010-02-28 15:35:38 -0500
commit4ff9e2af1721559ec6a8026f5d52a6c9dea805bf (patch)
treec6ada7655bba91393015579d123705637e25e4c2 /ctree.h
parentab8fb4c99516c186641bda1dbc0e788f68b4dc77 (diff)
Add btrfs-list for listing subvolumes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index a9062ea8..8c764cea 100644
--- a/ctree.h
+++ b/ctree.h
@@ -1325,6 +1325,10 @@ BTRFS_SETGET_FUNCS(root_ref_dirid, struct btrfs_root_ref, dirid, 64);
BTRFS_SETGET_FUNCS(root_ref_sequence, struct btrfs_root_ref, sequence, 64);
BTRFS_SETGET_FUNCS(root_ref_name_len, struct btrfs_root_ref, name_len, 16);
+BTRFS_SETGET_STACK_FUNCS(stack_root_ref_dirid, struct btrfs_root_ref, dirid, 64);
+BTRFS_SETGET_STACK_FUNCS(stack_root_ref_sequence, struct btrfs_root_ref, sequence, 64);
+BTRFS_SETGET_STACK_FUNCS(stack_root_ref_name_len, struct btrfs_root_ref, name_len, 16);
+
/* struct btrfs_dir_item */
BTRFS_SETGET_FUNCS(dir_data_len, struct btrfs_dir_item, data_len, 16);
BTRFS_SETGET_FUNCS(dir_type, struct btrfs_dir_item, type, 8);