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, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index 2c98b620c594..d9fd7f4d3794 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -19,7 +19,7 @@ int btrfs_alloc_file_extent(struct btrfs_trans_handle *trans,
19 BUG_ON(!path); 19 BUG_ON(!path);
20 btrfs_init_path(path); 20 btrfs_init_path(path);
21 ret = btrfs_alloc_extent(trans, root, num_blocks, hint_block, 21 ret = btrfs_alloc_extent(trans, root, num_blocks, hint_block,
22 (u64)-1, objectid, &ins); 22 (u64)-1, &ins);
23 BUG_ON(ret); 23 BUG_ON(ret);
24 file_key.objectid = objectid; 24 file_key.objectid = objectid;
25 file_key.offset = offset; 25 file_key.offset = offset;