From 0f67b5aa010e1cdb47078eda7f31ab55a16c251b Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Fri, 27 Feb 2015 16:26:37 +0800 Subject: 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 Signed-off-by: David Sterba --- ctree.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ctree.h') 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); -- cgit v1.2.1