]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit6e768461c215eaf8912e6c23e40fdff1cd962aca
treebffe8520b8509cec995de30b555bdc1c5e9f8ed7
parent3dccdae54fe836a22cee9dc6df9fd1708ae075ce
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