]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove bvec_to_phys
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Sep 2018 07:43:53 +0000 (09:43 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Sep 2018 18:33:59 +0000 (12:33 -0600)
commitbf4147e047a2a6dfaf9842bcaee5944d4341d703
treebffe8520b8509cec995de30b555bdc1c5e9f8ed7
parente446d4a076b910130b0016ce5946f9446fd98ccd
block: remove bvec_to_phys

We only use it in biovec_phys_mergeable and a m68k paravirt driver,
so just opencode it there.  Also remove the pointless unsigned long cast
for the offset in the opencoded instances.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/m68k/emu/nfblock.c
block/blk.h
include/linux/bio.h