]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: cleanup workqueue on error properly
authorJosef Bacik <jbacik@fb.com>
Wed, 15 Feb 2017 21:49:48 +0000 (16:49 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 21 Feb 2017 19:51:54 +0000 (12:51 -0700)
commit9a08e33b1522204e0ca211a52fbc776095c3e43b
tree712b302631d0413574af5ab3242e3be9fae2bd89
parentd7354f4133844c6e9baeaf32222b96c6a2c6206c
nbd: cleanup workqueue on error properly

If we fail to register the blockdev we need to make sure to destroy the
recv workqueue.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c