if: adapt to missing bi_cnt (kernel 4.2)

This commit is contained in:
Thomas Schoebel-Theuer 2015-08-19 12:43:32 +02:00
parent cf8ee66490
commit 275cc2a195
1 changed files with 1 additions and 1 deletions

View File

@ -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)
*/ */