summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorForrest Liu <forrestl@synology.com>2015-01-30 12:42:12 +0100
committerChris Mason <clm@fb.com>2015-02-05 03:02:37 +0100
commit3da5ab56482f322a9736c484db8773899c5c731b (patch)
treed319497715cbd569ccf8925bd645de6a9f847450 /fs/btrfs/tree-log.c
parentbtrfs: fix raid56 scrub failed in xfstests btrfs/072 (diff)
downloadlinux-3da5ab56482f322a9736c484db8773899c5c731b.tar.xz
linux-3da5ab56482f322a9736c484db8773899c5c731b.zip
Btrfs: add missing blk_finish_plug in btrfs_sync_log()
Add missing blk_finish_plug in btrfs_sync_log() Signed-off-by: Forrest Liu <forrestl@synology.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/tree-log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index 9a02da16f2be..1a9585d4380a 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -2591,6 +2591,7 @@ int btrfs_sync_log(struct btrfs_trans_handle *trans,
}
if (log_root_tree->log_transid_committed >= root_log_ctx.log_transid) {
+ blk_finish_plug(&plug);
mutex_unlock(&log_root_tree->log_mutex);
ret = root_log_ctx.log_ret;
goto out;