Commit bdfeb5a10471530dc93098e7b7663628ec951407

Authored by Linus Torvalds

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs

Pull btrfs fix from Chris Mason:
 "Forrest Liu tracked down a missing blk_finish_plug in the btrfs
  logging code.  This isn't a new bug, and it's hard to hit.  But, it's
  safe enough for inclusion now, and in my for-linus branch"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
  Btrfs: add missing blk_finish_plug in btrfs_sync_log()

Showing 1 changed file Side-by-side Diff

... ... @@ -2591,6 +2591,7 @@
2591 2591 }
2592 2592  
2593 2593 if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) {
  2594 + blk_finish_plug(&plug);
2594 2595 mutex_unlock(&log_root_tree->log_mutex);
2595 2596 ret = root_log_ctx.log_ret;
2596 2597 goto out;