summaryrefslogtreecommitdiff
path: root/inode-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'inode-map.c')
-rw-r--r--inode-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inode-map.c b/inode-map.c
index ad9e943d..3c4ec9da 100644
--- a/inode-map.c
+++ b/inode-map.c
@@ -48,7 +48,7 @@ int btrfs_find_free_objectid(struct btrfs_trans_handle *trans,
if (search_start < BTRFS_FIRST_FREE_OBJECTID)
search_start = BTRFS_FIRST_FREE_OBJECTID;
search_key.objectid = search_start;
- search_key.flags = 0;
+ search_key.type = 0;
search_key.offset = 0;
btrfs_init_path(&path);