be2iscsi : Fix kernel panic during reboot/shutdown
authorJohn Soni Jose <sony.john-n@emulex.com>
Fri, 26 Sep 2014 19:13:55 +0000 (15:13 -0400)
committerChristoph Hellwig <hch@lst.de>
Tue, 30 Sep 2014 07:29:55 +0000 (09:29 +0200)
commit53281edb2942c4d7abf12846b6b0591caf2bee4d
treec4c52bf4bc1b8eca066d364efd565d68768be7f1
parentf4303d8fa6da702b5fe53fa91a6984941d89d514
be2iscsi : Fix kernel panic during reboot/shutdown

 In the reboot/shutdown path, workqueue was destroyed after the
 adapter resource were freed. The task associated with workqueue
 was getting executed after resources were freed. This lead to
 kernel panic.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/be2iscsi/be_main.c