diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-08-01 15:50:40 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-04 21:41:29 -0600 |
commit | af2c68fe94e8c0a628519b60ba070c5cf6526a99 (patch) | |
tree | f394ff2b1c491e1c0dc63ef7bc8e04e77de98e99 /block/bio.c | |
parent | a87ccce0b5a06ee546931859fa62e10f1bce54f9 (diff) |
block: Declare several function pointer arguments 'const'
Make it clear to the compiler and also to humans that the functions
that query request queue properties do not modify any member of the
request_queue data structure.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions