]> www.infradead.org Git - nvme.git/commit
block: use page_to_phys in bvec_phys
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Jan 2025 08:14:37 +0000 (09:14 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 6 Jan 2025 14:36:39 +0000 (07:36 -0700)
commit2caca8fc7aad9ea9a6ea3ed26ed146b1e5f06fab
treeddedaf511c1ea3b43bee6b037499bcc051a74099
parent02ee5d69e3baf2796ba75b928fcbc9cf7884c5e9
block: use page_to_phys in bvec_phys

Use page_to_phys instead of open coding it now that it is available in an
architecture independent way.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250106081437.798213-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bvec.h