ib_srpt: Rename a goto label

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2017-12-28 18:41:09 +00:00
parent 805e3ffeb7
commit 602f745df5

View File

@@ -2668,7 +2668,7 @@ static int srpt_cm_req_recv(struct srpt_device *const sdev,
rej->reason = cpu_to_be32(SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES);
ret = PTR_ERR(thread);
pr_err("failed to create kernel thread: %d\n", ret);
goto unreg_ch;
goto release_channel;
}
mutex_lock(&sport->mutex);
@@ -2774,7 +2774,7 @@ static int srpt_cm_req_recv(struct srpt_device *const sdev,
goto out;
unreg_ch:
release_channel:
scst_unregister_session(ch->sess, true, NULL);
destroy_ib: