OSDN Git Service

block: remove __bio_kmap_atomic
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Nov 2017 18:13:48 +0000 (19:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commitd004a5e7d4dd6335ce6e2044af42f5e0fbebb51d
tree5a91e420f7256614b3dbd32fd4ef17a5c2bc483b
parent83f5f7ed72f316eda4c4c3833beebfe6578926f4
block: remove __bio_kmap_atomic

This helper doesn't buy us much over calling kmap_atomic directly.
In fact in the only caller it does a bit of useless work as the
caller already has the bvec at hand, and said caller would even
buggy for a multi-segment bio due to the use of this helper.

So just remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/block/biodoc.txt
arch/xtensa/platforms/iss/simdisk.c
block/blk-settings.c
include/linux/bio.h