]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: remove the LBA alignment check in __blkdev_issue_zeroout
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Jul 2024 16:51:16 +0000 (18:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jul 2024 06:53:15 +0000 (00:53 -0600)
commitff760a8f0d09f4ba7574ae2ca8be987854f5246d
tree01003b9bcc95157c088da730cb81a191266b8f25
parent73a768d5f95533574bb8ace34eb683a88c40509e
block: remove the LBA alignment check in __blkdev_issue_zeroout

__blkdev_issue_zeroout is a purely kernel internal API and thus can rely
on the block layer sector alignment checks.

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-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-lib.c