Signed-off-by: David Butterfield <dab21774@xxxxxxxxx> --- rbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbd.c b/rbd.c index ffe1cb0..efd001f 100644 --- a/rbd.c +++ b/rbd.c @@ -160,7 +160,7 @@ static int tcmu_rbd_image_open(struct tcmu_device *dev) if (ret < 0) { tcmu_dev_err(dev, "Could not create ioctx for pool %s. (Err %d)\n", state->pool_name, ret); - goto rados_destroy; + goto rados_shutdown; } ret = rbd_open(state->io_ctx, state->image_name, &state->image, NULL); -- 2.12.2.575.gb14f27f -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html