summaryrefslogtreecommitdiff
path: root/inode-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'inode-item.c')
-rw-r--r--inode-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inode-item.c b/inode-item.c
index 522d25a4..d563d4ee 100644
--- a/inode-item.c
+++ b/inode-item.c
@@ -64,7 +64,7 @@ int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans,
key.objectid = inode_objectid;
key.offset = ref_objectid;
- btrfs_set_key_type(&key, BTRFS_INODE_REF_KEY);
+ key.type = BTRFS_INODE_REF_KEY;
path = btrfs_alloc_path();
if (!path)