diff options
author | David Sterba <dsterba@suse.com> | 2016-09-13 12:00:17 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-03 11:33:15 +0200 |
commit | 890f4a61d7f4563af24617e7b2a5002cb2bf04cf (patch) | |
tree | 5396da9d1794403f8420f87c2b26c81e3e8ba5e9 /dir-item.c | |
parent | 555743075b5cc924021dd1e1a4a4697ee91441d8 (diff) |
btrfs-progs: cleanup, kill trivial btrfs_key_type helper
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'dir-item.c')
-rw-r--r-- | dir-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); if (found_key.objectid != dir || - btrfs_key_type(&found_key) != BTRFS_DIR_ITEM_KEY || + found_key.type != BTRFS_DIR_ITEM_KEY || found_key.offset != key.offset) return NULL; |