summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorForrest Liu <forrestl@synology.com>2015-01-30 19:42:12 +0800
committerChris Mason <clm@fb.com>2015-02-04 18:02:37 -0800
commit3da5ab56482f322a9736c484db8773899c5c731b (patch)
treed319497715cbd569ccf8925bd645de6a9f847450 /fs
parent063c54dccdecb0479662778ddf54ee45aa55423d (diff)
downloadlinux-stable-3da5ab56482f322a9736c484db8773899c5c731b.tar.gz
linux-stable-3da5ab56482f322a9736c484db8773899c5c731b.tar.bz2
linux-stable-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 'fs')
-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;