]> git.baikalelectronics.ru Git - kernel.git/commit
block: don't declare submit_bio_checks in local header
authorMing Lei <ming.lei@redhat.com>
Wed, 16 Feb 2022 04:45:09 +0000 (12:45 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Feb 2022 02:42:28 +0000 (19:42 -0700)
commit128cdc8f392c94700515a25dda4f6adf01a4a907
tree2ae29734899f767dded06ede74c756764cffd873
parent8a72f9b62deec48b81b26a39417dfc2321476b3a
block: don't declare submit_bio_checks in local header

submit_bio_checks() won't be called outside of block/blk-core.c any more
since commit f5716f288dbb ("block: don't protect submit_bio_checks by
q_usage_counter"), so mark it as one local helper.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220216044514.2903784-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk.h