summaryrefslogtreecommitdiff
path: root/security/tomoyo
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-29 10:12:37 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-16 06:02:36 +0300
commitcc9c884dd7f4f036965e23f5445f838db316eb46 (patch)
treee0455ea51eda57ff5858f9f3acc506eeb485232b /security/tomoyo
parentbaa0ab2ba22395d85854e8d818beb1763b48f7dc (diff)
downloadlinux-cc9c884dd7f4f036965e23f5445f838db316eb46.tar.xz
block: call submit_bio_checks under q_usage_counter
Ensure all bios check the current values of the queue under freeze protection, i.e. to make sure the zero capacity set by del_gendisk is actually seen before dispatching to the driver. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210929071241.934472-2-hch@lst.de Tested-by: Yi Zhang <yi.zhang@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions