diff options
author | 2023-11-17 00:23:15 +0800 | |
---|---|---|
committer | 2023-11-20 10:16:44 -0700 | |
commit | 3123ac77923341774ca3ad1196ad20bb0732bf70 (patch) | |
tree | 47e0a24ba572b1bbf3d8ed8e7be6a24c4a73fda8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nbd: fold nbd config initialization into nbd_alloc_config() (diff) | |
download | wireguard-linux-3123ac77923341774ca3ad1196ad20bb0732bf70.tar.xz wireguard-linux-3123ac77923341774ca3ad1196ad20bb0732bf70.zip |
nbd: factor out a helper to get nbd_config without holding 'config_lock'
There are no functional changes, just to make code cleaner and prepare
to fix null-ptr-dereference while accessing 'nbd->config'.
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20231116162316.1740402-3-linan666@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions