diff options
author | Li Nan <[email protected]> | 2023-11-17 00:23:15 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-11-20 10:16:44 -0700 |
commit | 3123ac77923341774ca3ad1196ad20bb0732bf70 (patch) | |
tree | 47e0a24ba572b1bbf3d8ed8e7be6a24c4a73fda8 /scripts/generate_rust_analyzer.py | |
parent | 1b59860540a4018e8071dc18d4893ec389506b7d (diff) |
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 <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions