diff options
author | Li Nan <linan122@huawei.com> | 2023-11-17 00:23:14 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-11-20 10:16:44 -0700 |
commit | 1b59860540a4018e8071dc18d4893ec389506b7d (patch) | |
tree | d23524ab39315121797836cfc411d89ee75d4281 /scripts/rustdoc_test_builder.rs | |
parent | 8a554c6234731d63014391331127480755d6cac4 (diff) |
nbd: fold nbd config initialization into nbd_alloc_config()
There are no functional changes, make the 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-2-linan666@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions