commit | 20032ec38d1614f29c5a8e6cfc5b5326685fa99b | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Thu Dec 08 09:52:35 2016 -0500 |
committer | Jens Axboe <axboe@fb.com> | Thu Dec 08 15:26:57 2016 -0700 |
tree | 55689742145048a54f371b2fcf48de14735e9f17 | |
parent | d65cfe9094ba66b8a3c7b80823ba9229759b119d [diff] |
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: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>