]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: move read-only and supported checks into (__)blkdev_issue_zeroout
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Jul 2024 16:51:17 +0000 (18:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jul 2024 06:53:15 +0000 (00:53 -0600)
commitf6eacb26541ad1eabc40d7e9f5cd86bae7dc0b46
tree162a8fe3908e029d83dd0ac44fb75fbe912b9977
parentff760a8f0d09f4ba7574ae2ca8be987854f5246d
block: move read-only and supported checks into (__)blkdev_issue_zeroout

Move these checks out of the lower level helpers and into the higher level
ones to prepare for refactoring.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240701165219.1571322-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-lib.c