Commit bc892cbf authored by Forrest Liu's avatar Forrest Liu Committed by Ben Hutchings

Btrfs: add missing blk_finish_plug in btrfs_sync_log()

commit 3da5ab56 upstream.

Add missing blk_finish_plug in btrfs_sync_log()
Signed-off-by: default avatarForrest Liu <forrestl@synology.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarChris Mason <clm@fb.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent d91d35de
......@@ -2600,6 +2600,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment