summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_disc.c
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 14:01:12 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 12:07:43 -0500
commit4c0f62b5679321b2e5572cf541ffb9f7b344d47c (patch)
tree0c4fba12e9098c63cfdc37dac15313f313887b1a /drivers/scsi/libfc/fc_disc.c
parent629f44279d169f29b084d406e9f1c33314f220fa (diff)
downloadlinux-4c0f62b5679321b2e5572cf541ffb9f7b344d47c.tar.bz2
[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.c2
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,
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);