OSDN Git Service

lpfc: Fix vport deletion failure.
authorJames Smart <james.smart@avagotech.com>
Fri, 22 May 2015 14:42:36 +0000 (10:42 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 13 Jun 2015 15:19:25 +0000 (08:19 -0700)
commit73dc0dbed3f9f65c6f80fab429dd9771de794714
tree91a6eda620ac3d37e44bf6fa2e81c4bd547fadce
parent481ad967991e1ff00d627d365de398b7a77e4d7f
lpfc: Fix vport deletion failure.

If a vport was deleted while in the middle of discovery, we weren't
clearing the nport discovery flag. Correct by clearing the flag and
cancelling our discovery timeout timer.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_els.c