From d57187703e53f7b003009966f8088f2887282dad Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 25 Aug 2016 19:02:18 +0200 Subject: btrfs-progs: add rest of stack operations for btrfs_dir_item Signed-off-by: David Sterba --- ctree.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ctree.h') diff --git a/ctree.h b/ctree.h index d0569835..1d153ec5 100644 --- a/ctree.h +++ b/ctree.h @@ -1747,7 +1747,10 @@ BTRFS_SETGET_FUNCS(dir_type, struct btrfs_dir_item, type, 8); BTRFS_SETGET_FUNCS(dir_name_len, struct btrfs_dir_item, name_len, 16); BTRFS_SETGET_FUNCS(dir_transid, struct btrfs_dir_item, transid, 64); +BTRFS_SETGET_STACK_FUNCS(stack_dir_data_len, struct btrfs_dir_item, data_len, 16); +BTRFS_SETGET_STACK_FUNCS(stack_dir_type, struct btrfs_dir_item, type, 8); BTRFS_SETGET_STACK_FUNCS(stack_dir_name_len, struct btrfs_dir_item, name_len, 16); +BTRFS_SETGET_STACK_FUNCS(stack_dir_transid, struct btrfs_dir_item, transid, 64); static inline void btrfs_dir_item_key(struct extent_buffer *eb, struct btrfs_dir_item *item, -- cgit v1.2.3