ib_srpt: Rename a goto label

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7544 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-01 04:08:57 +00:00
parent a752568da6
commit be640804f1
+2 -2
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: