]> git.openfabrics.org - ~emulex/infiniband.git/commit
be2iscsi: Fix exposing Host in sysfs after adapter initialization is complete
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Tue, 6 May 2014 01:41:25 +0000 (21:41 -0400)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 16:13:14 +0000 (18:13 +0200)
commit0598b8afd65d6b0893d217f7cf77ea315cdfcb5b
tree8d70a64d7c9288e6636f89c9d99fcb5087e17334
parentdaa8dc081cd801635b2757aa6f257a79d9ac6d2c
be2iscsi: Fix exposing Host in sysfs after adapter initialization is complete

 Before probe for function was completed, iSCSI Daemon had initiated login
 to target while OS was coming up. The targets which had node.startup=automatic,
 login process was initiated.Since function specific initialization was still in
 progress this lead to kernel panic.

 Fixed the issue by moving iscsi_host_add() call after adapter initialization
 is done.

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