summaryrefslogtreecommitdiff
path: root/dir-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir-test.c')
-rw-r--r--dir-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir-test.c b/dir-test.c
index cdef7169..03dbfa14 100644
--- a/dir-test.c
+++ b/dir-test.c
@@ -77,7 +77,7 @@ static int ins_one(struct btrfs_trans_handle *trans, struct btrfs_root *root,
if (ret)
goto error;
ret = btrfs_insert_dir_item(trans, root, buf, strlen(buf), dir_oid,
- &inode_map, 1);
+ &inode_map, BTRFS_FT_UNKNOWN);
if (ret)
goto error;
@@ -143,7 +143,7 @@ static int insert_dup(struct btrfs_trans_handle *trans, struct btrfs_root
btrfs_set_key_type(&key, BTRFS_INODE_ITEM_KEY);
key.offset = 0;
ret = btrfs_insert_dir_item(trans, root, buf, strlen(buf), dir_oid,
- &key, 1);
+ &key, BTRFS_FT_UNKNOWN);
if (ret != -EEXIST) {
printf("insert on %s gave us %d\n", buf, ret);
return 1;