OSDN Git Service

block: simplify BIOVEC_PHYS_MERGEABLE
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Sep 2018 07:43:50 +0000 (09:43 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Sep 2018 18:33:54 +0000 (12:33 -0600)
commit6a9f5f240adfdced863a098d34f8f05ca6ab9d5f
treeeb81b3a3073e9c03c03170468f2ba43ed7f43487
parent27ca1d4ed04ea29dc77b47190a3cc82697023e76
block: simplify BIOVEC_PHYS_MERGEABLE

Turn the macro into an inline, move it to blk.h and simplify the
arch hooks a bit.

Also rename the function to biovec_phys_mergeable as there is no need
to shout.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arm/include/asm/io.h
arch/arm64/include/asm/io.h
arch/x86/include/asm/io.h
block/bio.c
block/blk-integrity.c
block/blk-merge.c
block/blk.h
include/linux/bio.h