summaryrefslogtreecommitdiff
path: root/backref.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-09-13 12:00:17 +0200
committerDavid Sterba <dsterba@suse.com>2016-10-03 11:33:15 +0200
commit890f4a61d7f4563af24617e7b2a5002cb2bf04cf (patch)
tree5396da9d1794403f8420f87c2b26c81e3e8ba5e9 /backref.c
parent555743075b5cc924021dd1e1a4a4697ee91441d8 (diff)
btrfs-progs: cleanup, kill trivial btrfs_key_type helper
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'backref.c')
-rw-r--r--backref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backref.c b/backref.c
index 55be719b..d65038dc 100644
--- a/backref.c
+++ b/backref.c
@@ -1030,7 +1030,7 @@ int btrfs_find_one_extref(struct btrfs_root *root, u64 inode_objectid,
ret = -ENOENT;
if (found_key.objectid != inode_objectid)
break;
- if (btrfs_key_type(&found_key) != BTRFS_INODE_EXTREF_KEY)
+ if (found_key.type != BTRFS_INODE_EXTREF_KEY)
break;
ret = 0;