diff options
author | David Sterba <dsterba@suse.com> | 2016-08-25 19:02:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-08-25 19:02:18 +0200 |
commit | d57187703e53f7b003009966f8088f2887282dad (patch) | |
tree | ef99c2e29b3a84a04f5b76aef349298bd59b2416 /ctree.h | |
parent | df1d2918c3963d7d4ab6dae12521d3cb5375874d (diff) |
btrfs-progs: add rest of stack operations for btrfs_dir_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |