pktcdvd: convert to bioset_init()/mempool_init()
Convert pktcdvd to embedded bio sets. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
0892fac871
commit
64c4bc4de7
@@ -186,7 +186,7 @@ struct pktcdvd_device
|
||||
sector_t current_sector; /* Keep track of where the elevator is */
|
||||
atomic_t scan_queue; /* Set to non-zero when pkt_handle_queue */
|
||||
/* needs to be run. */
|
||||
mempool_t *rb_pool; /* mempool for pkt_rb_node allocations */
|
||||
mempool_t rb_pool; /* mempool for pkt_rb_node allocations */
|
||||
|
||||
struct packet_iosched iosched;
|
||||
struct gendisk *disk;
|
||||
|
Reference in New Issue
Block a user