aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2023-03-27 07:43:04 +0000
committerMartin K. Petersen <[email protected]>2023-04-02 22:09:22 -0400
commita0473bf31df5bf2da7ecb50023c129659ce0a835 (patch)
tree622d9c9c31b8c7c670693cac8a9b3c10bbebf23d /lib/test_fortify/write_overflow-strncpy-src.c
parent25b80b2c7582ea15ba90b8007f1e1f1b8fc762b9 (diff)
scsi: scsi_debug: Use scsi_block_requests() to block queues
The feature to block queues is quite dubious, since it races with in-flight IO. Indeed, it seems unnecessary for block queues for any times we do so. Anyway, to keep the same behaviour, use standard SCSI API to stop IO being sent - scsi_{un}block_requests(). Signed-off-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions