diff options
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 20928639d173..3e4e5c227c0c 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -338,7 +338,7 @@ static int noinline dirty_and_release_pages(struct btrfs_trans_handle *trans, | |||
338 | btrfs_update_inode(trans, root, inode); | 338 | btrfs_update_inode(trans, root, inode); |
339 | } | 339 | } |
340 | failed: | 340 | failed: |
341 | err = btrfs_end_transaction(trans, root); | 341 | err = btrfs_end_transaction_throttle(trans, root); |
342 | out_unlock: | 342 | out_unlock: |
343 | unlock_extent(io_tree, start_pos, end_of_last_block, GFP_NOFS); | 343 | unlock_extent(io_tree, start_pos, end_of_last_block, GFP_NOFS); |
344 | return err; | 344 | return err; |