mirror of https://github.com/schoebel/mars
if: adapt to missing bi_cnt (kernel 4.2)
This commit is contained in:
parent
cf8ee66490
commit
275cc2a195
|
@ -480,7 +480,7 @@ if_make_request(struct request_queue *q, struct bio *bio)
|
||||||
/* Get a reference to the bio.
|
/* Get a reference to the bio.
|
||||||
* Will be released after bio_endio().
|
* Will be released after bio_endio().
|
||||||
*/
|
*/
|
||||||
atomic_inc(&bio->bi_cnt);
|
bio_get(bio);
|
||||||
|
|
||||||
/* FIXME: THIS IS PROVISIONARY (use event instead)
|
/* FIXME: THIS IS PROVISIONARY (use event instead)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue