btrfs-progs: tests: enhance API to request type of the converted filesystem
[platform/upstream/btrfs-progs.git] / dir-item.c
index 29d5aad..e34f693 100644 (file)
@@ -46,7 +46,7 @@ static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle
                di = btrfs_match_dir_item_name(root, path, name, name_len);
                if (di)
                        return ERR_PTR(-EEXIST);
-               ret = btrfs_extend_item(trans, root, path, data_size);
+               ret = btrfs_extend_item(root, path, data_size);
                WARN_ON(ret > 0);
        }
        if (ret < 0)