diff options
author | Forrest Liu <forrestl@synology.com> | 2015-01-30 14:42:12 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-02-05 05:02:37 +0300 |
commit | 3da5ab56482f322a9736c484db8773899c5c731b (patch) | |
tree | d319497715cbd569ccf8925bd645de6a9f847450 /fs/btrfs | |
parent | 063c54dccdecb0479662778ddf54ee45aa55423d (diff) | |
download | linux-3da5ab56482f322a9736c484db8773899c5c731b.tar.xz |
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/btrfs')
-rw-r--r-- | fs/btrfs/tree-log.c | 1 |
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; |