]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove the disk and queue NULL checks in blkdev_issue_flush
authorChristoph Hellwig <hch@lst.de>
Wed, 13 May 2020 12:36:01 +0000 (14:36 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 May 2020 14:45:59 +0000 (08:45 -0600)
commitcc74296a8bbe87196d423ac94c98510c330b7c4c
treef89e2f08966e8d975bcce34465bee0ea39acdfad
parentca3e992d83b164b1dac97120cc0d5d81699ec782
block: remove the disk and queue NULL checks in blkdev_issue_flush

Both of these never can be NULL for a live block device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c