]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite550be73b3bf16740798402c6827188a0030e853
tree5a91e420f7256614b3dbd32fd4ef17a5c2bc483b
parentc111dbb072811cd34e262f076db8e14c8c56eac0
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