summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-08-02 01:50:40 +0300
committerJens Axboe <axboe@kernel.dk>2019-08-05 06:41:29 +0300
commitaf2c68fe94e8c0a628519b60ba070c5cf6526a99 (patch)
treef394ff2b1c491e1c0dc63ef7bc8e04e77de98e99 /block/bio.c
parenta87ccce0b5a06ee546931859fa62e10f1bce54f9 (diff)
downloadlinux-af2c68fe94e8c0a628519b60ba070c5cf6526a99.tar.xz
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