summaryrefslogtreecommitdiff
path: root/dir-item.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:24:39 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-10-15 16:24:39 -0400
commitf12d799856c27ba425db93e5829f6b858bc03561 (patch)
tree7ee33a139b1330c68ccfa593cda627f40bf21d8b /dir-item.c
parentf6f922953798e6d2f5a864b48b4f37d998bb3a6d (diff)
Allow large blocks
Diffstat (limited to 'dir-item.c')
-rw-r--r--dir-item.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dir-item.c b/dir-item.c
index ea79a9ce..c681bebb 100644
--- a/dir-item.c
+++ b/dir-item.c
@@ -65,7 +65,6 @@ int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
u32 data_size;
key.objectid = dir;
- key.flags = 0;
btrfs_set_key_type(&key, BTRFS_DIR_ITEM_KEY);
if (name_len == 1 && *name == '.')
key.offset = 1;
@@ -121,7 +120,6 @@ int btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
int cow = mod != 0;
key.objectid = dir;
- key.flags = 0;
btrfs_set_key_type(&key, BTRFS_DIR_ITEM_KEY);
ret = btrfs_name_hash(name, name_len, &key.offset);
BUG_ON(ret);