diff options
Diffstat (limited to 'drivers/scsi/libfc/fc_exch.c')
-rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index 66db08a5f27f..a09416fd843c 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
@@ -1480,10 +1480,11 @@ static void fc_exch_reset(struct fc_exch *ep) | |||
1480 | * If sid is non-zero, reset only exchanges we source from that FID. | 1480 | * If sid is non-zero, reset only exchanges we source from that FID. |
1481 | * If did is non-zero, reset only exchanges destined to that FID. | 1481 | * If did is non-zero, reset only exchanges destined to that FID. |
1482 | */ | 1482 | */ |
1483 | void fc_exch_mgr_reset(struct fc_exch_mgr *mp, u32 sid, u32 did) | 1483 | void fc_exch_mgr_reset(struct fc_lport *lp, u32 sid, u32 did) |
1484 | { | 1484 | { |
1485 | struct fc_exch *ep; | 1485 | struct fc_exch *ep; |
1486 | struct fc_exch *next; | 1486 | struct fc_exch *next; |
1487 | struct fc_exch_mgr *mp = lp->emp; | ||
1487 | 1488 | ||
1488 | spin_lock_bh(&mp->em_lock); | 1489 | spin_lock_bh(&mp->em_lock); |
1489 | restart: | 1490 | restart: |