diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-08-25 17:01:12 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 13:07:43 -0400 |
commit | 4c0f62b5679321b2e5572cf541ffb9f7b344d47c (patch) | |
tree | 0c4fba12e9098c63cfdc37dac15313f313887b1a /drivers/scsi/libfc/fc_disc.c | |
parent | 629f44279d169f29b084d406e9f1c33314f220fa (diff) |
[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>
Diffstat (limited to 'drivers/scsi/libfc/fc_disc.c')
-rw-r--r-- | drivers/scsi/libfc/fc_disc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_disc.c b/drivers/scsi/libfc/fc_disc.c index 5f839b625e50..e5e5b260a572 100644 --- a/drivers/scsi/libfc/fc_disc.c +++ b/drivers/scsi/libfc/fc_disc.c | |||
@@ -118,7 +118,7 @@ static void fc_disc_rport_callback(struct fc_lport *lport, | |||
118 | rdata->ids.port_id); | 118 | rdata->ids.port_id); |
119 | 119 | ||
120 | switch (event) { | 120 | switch (event) { |
121 | case RPORT_EV_CREATED: | 121 | case RPORT_EV_READY: |
122 | if (disc) { | 122 | if (disc) { |
123 | mutex_lock(&disc->disc_mutex); | 123 | mutex_lock(&disc->disc_mutex); |
124 | list_add_tail(&rdata->peers, &disc->rports); | 124 | list_add_tail(&rdata->peers, &disc->rports); |