commit | 9b1355d5e3f094ef671033f38c4357cd1455c571 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Thu Apr 06 17:01:56 2017 -0400 |
committer | Jens Axboe <axboe@fb.com> | Mon Apr 17 09:58:42 2017 -0600 |
tree | 738f0b07a052441761b4ed4e37c761c4dd58da6f | |
parent | 1c6286f26301ad154a1c10fb6e68925493dd28ba [diff] |
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: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>