Various Linux kABI cosmetics

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12103
This commit is contained in:
наб
2021-05-22 02:38:17 +02:00
committed by Brian Behlendorf
parent 202498c958
commit 69cbd0a360
4 changed files with 16 additions and 12 deletions
@@ -52,7 +52,7 @@ blk_queue_flag_clear(unsigned int flag, struct request_queue *q)
#endif
/*
* 4.7 - 4.x API,
* 4.7 API,
* The blk_queue_write_cache() interface has replaced blk_queue_flush()
* interface. However, the new interface is GPL-only thus we implement
* our own trivial wrapper when the GPL-only version is detected.
@@ -254,7 +254,7 @@ bio_set_bi_error(struct bio *bio, int error)
#endif /* HAVE_1ARG_BIO_END_IO_T */
/*
* 4.1 - x.y.z API,
* 4.1 API,
* 3.10.0 CentOS 7.x API,
* blkdev_reread_part()
*
@@ -391,7 +391,7 @@ bio_set_flush(struct bio *bio)
}
/*
* 4.8 - 4.x API,
* 4.8 API,
* REQ_OP_FLUSH
*
* 4.8-rc0 - 4.8-rc1,
@@ -421,7 +421,7 @@ bio_is_flush(struct bio *bio)
}
/*
* 4.8 - 4.x API,
* 4.8 API,
* REQ_FUA flag moved to bio->bi_opf
*
* 2.6.x - 4.7 API,
@@ -440,7 +440,7 @@ bio_is_fua(struct bio *bio)
}
/*
* 4.8 - 4.x API,
* 4.8 API,
* REQ_OP_DISCARD
*
* 2.6.36 - 4.7 API,
@@ -462,7 +462,7 @@ bio_is_discard(struct bio *bio)
}
/*
* 4.8 - 4.x API,
* 4.8 API,
* REQ_OP_SECURE_ERASE
*
* 2.6.36 - 4.7 API,
@@ -492,7 +492,7 @@ blk_queue_discard_granularity(struct request_queue *q, unsigned int dg)
}
/*
* 4.8 - 4.x API,
* 4.8 API,
* blk_queue_secure_erase()
*
* 2.6.36 - 4.7 API,