commit | 210a6d756f20f33fc546ec8682a538fbcb84ee8e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue May 25 08:12:55 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 01 07:43:32 2021 -0600 |
tree | 46e1105d6651b71e5d7d9df2c7f1651fb1de0d95 | |
parent | 362529d9280af4b08d2c25a4b39b8e5ae7658f9a [diff] |
block: move sync_blockdev from __blkdev_put to blkdev_put Do the early unlocked syncing even earlier to move more code out of the recursive path. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20210525061301.2242282-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>