]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd7099c9a6eaee8c66242149bcb1b8908c1362c0
tree44f89900ffc44f63471412f52d10435789fefaaf
parentea18165e758c735b2f31cbdf6828b784e4943dff
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