]> www.infradead.org Git - users/hch/block.git/commit
mtd/block2mtd: use bdev_read_cache_page in read_part_sector
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 08:29:00 +0000 (10:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 08:29:37 +0000 (10:29 +0200)
commit8d75eba470f991b6f9834f4d2b12e3c20996b5ad
tree217e62c5b0d95c511b0bc8a5c5af609d02220bab
parentaa20d2fb7e76f7bfc91217a51b71501251c2a1c8
mtd/block2mtd: use bdev_read_cache_page in read_part_sector

Use bdev_read_cache_page instead of open coding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/mtd/devices/block2mtd.c