summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-02-27 16:26:37 +0800
committerDavid Sterba <dsterba@suse.cz>2015-03-24 00:28:34 +0100
commit0f67b5aa010e1cdb47078eda7f31ab55a16c251b (patch)
tree15ea870cec4530db506d86efd7fdc1d3d8a11f5d /ctree.h
parentcc6baf5e39fbfba24bff9aa1cdf9d0f83b4eb648 (diff)
downloadbtrfs-progs-0f67b5aa010e1cdb47078eda7f31ab55a16c251b.tar.gz
btrfs-progs: Add stack get/set functions for btrfs_qgroup_status_item
This provides the basis for later qgroup related changes. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 51fc820..2042771 100644
--- a/ctree.h
+++ b/ctree.h
@@ -2080,6 +2080,15 @@ BTRFS_SETGET_FUNCS(qgroup_status_flags, struct btrfs_qgroup_status_item,
BTRFS_SETGET_FUNCS(qgroup_status_scan, struct btrfs_qgroup_status_item,
scan, 64);
+BTRFS_SETGET_STACK_FUNCS(stack_qgroup_status_version,
+ struct btrfs_qgroup_status_item, version, 64);
+BTRFS_SETGET_STACK_FUNCS(stack_qgroup_status_generation,
+ struct btrfs_qgroup_status_item, generation, 64);
+BTRFS_SETGET_STACK_FUNCS(stack_qgroup_status_flags,
+ struct btrfs_qgroup_status_item, flags, 64);
+BTRFS_SETGET_STACK_FUNCS(stack_qgroup_status_scan,
+ struct btrfs_qgroup_status_item, scan, 64);
+
/* btrfs_qgroup_info_item */
BTRFS_SETGET_FUNCS(qgroup_info_generation, struct btrfs_qgroup_info_item,
generation, 64);