diff options
author | Tetsuo Handa <[email protected]> | 2021-08-25 18:31:03 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-25 14:20:08 -0600 |
commit | 93f63bc41f699318807df202a175d564c26bda87 (patch) | |
tree | c6415a1cd974836f8c23c637d571249749500930 /lib/test_fortify/write_overflow-memcpy.c | |
parent | ca27f5b593b5532f4b3a363daeba45872f381bb2 (diff) |
nbd: add missing locking to the nbd_dev_add error path
idr_remove needs external synchronization.
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