aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorTetsuo Handa <[email protected]>2021-08-25 18:31:06 +0200
committerJens Axboe <[email protected]>2021-08-25 14:20:25 -0600
commitb190300decb352a0b865d7aa379e89b17d772a43 (patch)
tree1955da9e0646722af7e53ddb4f637df9d32cba41 /lib/test_fortify/write_overflow-memcpy.c
parent75b7f62aa65d5c496391ec2c3db3561aaf81a403 (diff)
nbd: set nbd->index before releasing nbd_index_mutex
Set nbd->index before releasing nbd_index_mutex, as populate_nbd_status() might access nbd->index as soon as nbd_index_mutex is released. Fixes: 6e4df4c64881 ("nbd: reduce the nbd_index_mutex scope") Signed-off-by: Tetsuo Handa <[email protected]> [hch: split from a larger patch] Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions