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

nbd: put socket in error cases



When adding a new socket we look it up and then try to add it to our
configuration.  If any of those steps fail we need to make sure we put
the socket so we don't leak them.

Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 1c6286f2
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