btrfs-progs: add rest of stack operations for btrfs_dir_item
authorDavid Sterba <dsterba@suse.com>
Thu, 25 Aug 2016 17:02:18 +0000 (19:02 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 25 Aug 2016 17:02:18 +0000 (19:02 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.h

diff --git a/ctree.h b/ctree.h
index d056983..1d153ec 100644 (file)
--- 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,