Skip to content
Commit 20032ec3 authored by Josef Bacik's avatar Josef Bacik Committed by Jens Axboe
Browse files

nbd: reset the setup task for NBD_CLEAR_SOCK



If an app exits before running NBD_DO_IT but after adding sockets we can
end up not being allowed to do a new nbd device.  Fix this by making
NBD_CLEAR_SOCK reset the setup_task.

Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent d65cfe90
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment