commit | aa8dcccaf32bfdc09f2aff089d5d60c37da5b7b5 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jan 27 08:05:49 2022 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Feb 02 07:50:00 2022 -0700 |
tree | 47905396b491e167950ec5c95d1d2bdeb3c72e6e | |
parent | b1f866b013e6e5583f2f0bf4a61d13eddb9a1799 [diff] |
block: check that there is a plug in blk_flush_plug Rename blk_flush_plug to __blk_flush_plug and add a wrapper that includes the NULL check instead of open coding that check everywhere. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20220127070549.1377856-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>