From 84e9d08a4bd72f106c1d97823c76410ae5076420 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Thu, 7 Jun 2007 22:12:21 -0400 Subject: endian fixes, makefile fixes --- dir-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dir-test.c') 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; -- cgit v1.2.1