diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-06-07 22:12:21 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-07 22:12:21 -0400 |
commit | 84e9d08a4bd72f106c1d97823c76410ae5076420 (patch) | |
tree | 29bd205a58a896dbeab9337ed287ef224eb636c9 /dir-test.c | |
parent | 9b25940b9d4e73c4d66461018536dfba97c1e212 (diff) |
endian fixes, makefile fixes
Diffstat (limited to 'dir-test.c')
-rw-r--r-- | dir-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |