mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
nvme-loop: fix module_init (theoretical) error path
if nvmf_register_transport happend to fail, we need to nvmet_unregister_transport as well. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
a56c79cfd3
commit
d19eef029d
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue