mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
0892fac871
commit
64c4bc4de7
2 changed files with 26 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue