block: merge __bio_map_kern into bio_map_kern
authorChristoph Hellwig <hch@lst.de>
Sun, 18 Jan 2015 15:16:32 +0000 (16:16 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 5 Feb 2015 16:30:42 +0000 (09:30 -0700)
commit75c72b8366f35f2e5cf1b841b52095948878b794
tree7b7637a0d6dde82baaa894f3244175fd93d8c68c
parent26e49cfc7e988a76bf1e55cef0d9e438e5489180
block: merge __bio_map_kern into bio_map_kern

This saves a little code, and allow to simplify the error handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio.c