]> 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)
commit6cd1f705f648f3bfec4028c3d92ea3121cf5d7e8
tree44f89900ffc44f63471412f52d10435789fefaaf
parentf27cf1b0f8479ac646313ba06471b7c8a1b06aeb
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