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 e5ffb66ad320..3efec25e34b0 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -347,7 +347,7 @@ static int noinline dirty_and_release_pages(struct btrfs_trans_handle *trans, | |||
347 | btrfs_update_inode(trans, root, inode); | 347 | btrfs_update_inode(trans, root, inode); |
348 | } | 348 | } |
349 | failed: | 349 | failed: |
350 | err = btrfs_end_transaction_throttle(trans, root); | 350 | err = btrfs_end_transaction(trans, root); |
351 | out_unlock: | 351 | out_unlock: |
352 | unlock_extent(io_tree, start_pos, end_of_last_block, GFP_NOFS); | 352 | unlock_extent(io_tree, start_pos, end_of_last_block, GFP_NOFS); |
353 | return err; | 353 | return err; |