[SCSI] libfc: rename rport event CREATED to READY
Remote ports will become READY more than once after ADISC is implemented in a later patch. The event callback that has been called "CREATED" will mean "READY". Rename it now in preparation for those changes. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:

committed by
James Bottomley

parent
629f44279d
commit
4c0f62b567
@@ -118,7 +118,7 @@ static void fc_disc_rport_callback(struct fc_lport *lport,
|
||||
rdata->ids.port_id);
|
||||
|
||||
switch (event) {
|
||||
case RPORT_EV_CREATED:
|
||||
case RPORT_EV_READY:
|
||||
if (disc) {
|
||||
mutex_lock(&disc->disc_mutex);
|
||||
list_add_tail(&rdata->peers, &disc->rports);
|
||||
|
Reference in New Issue
Block a user