aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 388ac397c2c8..d3f2fe0b7c6c 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -253,7 +253,7 @@ static int noinline dirty_and_release_pages(struct btrfs_trans_handle *trans,
253 end_of_last_block = start_pos + num_bytes - 1; 253 end_of_last_block = start_pos + num_bytes - 1;
254 254
255 lock_extent(io_tree, start_pos, end_of_last_block, GFP_NOFS); 255 lock_extent(io_tree, start_pos, end_of_last_block, GFP_NOFS);
256 trans = btrfs_start_transaction(root, 1); 256 trans = btrfs_join_transaction(root, 1);
257 if (!trans) { 257 if (!trans) {
258 err = -ENOMEM; 258 err = -ENOMEM;
259 goto out_unlock; 259 goto out_unlock;