diff options
Diffstat (limited to 'fs/btrfs/dir-item.c')
-rw-r--r-- | fs/btrfs/dir-item.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index 0d179a44ebf4..ff10cf5a8422 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c | |||
@@ -74,7 +74,6 @@ int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root | |||
74 | ret = btrfs_name_hash(name, name_len, &key.offset); | 74 | ret = btrfs_name_hash(name, name_len, &key.offset); |
75 | BUG_ON(ret); | 75 | BUG_ON(ret); |
76 | path = btrfs_alloc_path(); | 76 | path = btrfs_alloc_path(); |
77 | btrfs_init_path(path); | ||
78 | data_size = sizeof(*dir_item) + name_len; | 77 | data_size = sizeof(*dir_item) + name_len; |
79 | dir_item = insert_with_overflow(trans, root, path, &key, data_size, | 78 | dir_item = insert_with_overflow(trans, root, path, &key, data_size, |
80 | name, name_len); | 79 | name, name_len); |