pktcdvd: Switch to bio_kmalloc()
authorKent Overstreet <koverstreet@google.com>
Fri, 7 Sep 2012 20:44:02 +0000 (13:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 9 Sep 2012 08:35:39 +0000 (10:35 +0200)
commitccc5c9ca6aac08218b1ba52afd07a1a9864c8c5d
tree44f89900ffc44f63471412f52d10435789fefaaf
parentf44b48c7691be7643877d1f881b5eeace654d05d
pktcdvd: Switch to bio_kmalloc()

This is prep work for killing bi_destructor - previously, pktcdvd had
its own pkt_bio_alloc which was basically duplication bio_kmalloc(),
necessitating its own bi_destructor implementation.

v5: Un-reorder some functions, to make the patch easier to review

Signed-off-by: Kent Overstreet <koverstreet@google.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/pktcdvd.c