aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r--fs/btrfs/file-item.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index 37dd3801a107..3c140cc1dd05 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -38,7 +38,6 @@ int btrfs_insert_file_extent(struct btrfs_trans_handle *trans,
38 38
39 path = btrfs_alloc_path(); 39 path = btrfs_alloc_path();
40 BUG_ON(!path); 40 BUG_ON(!path);
41 btrfs_init_path(path);
42 file_key.objectid = objectid; 41 file_key.objectid = objectid;
43 file_key.offset = pos; 42 file_key.offset = pos;
44 file_key.flags = 0; 43 file_key.flags = 0;
@@ -274,7 +273,6 @@ int btrfs_csum_verify_file_block(struct btrfs_root *root,
274 273
275 path = btrfs_alloc_path(); 274 path = btrfs_alloc_path();
276 BUG_ON(!path); 275 BUG_ON(!path);
277 btrfs_init_path(path);
278 file_key.objectid = objectid; 276 file_key.objectid = objectid;
279 file_key.offset = offset; 277 file_key.offset = offset;
280 file_key.flags = 0; 278 file_key.flags = 0;