bio.h: Declare the arguments of the bio iteration functions const
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 May 2020 04:07:35 +0000 (21:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 May 2020 15:40:29 +0000 (09:40 -0600)
commitc1527c0e12d461ff4c603996f77983f37b85c286
tree7366bc3867983dade663d31e5ccd74cffdd24610
parentc8210a57655a64c0a9b53c58c2ad5d8426c15097
bio.h: Declare the arguments of the bio iteration functions const

This change makes it possible to pass 'const struct bio *' arguments to
these functions.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio.h