be2iscsi: Fix exposing Host in sysfs after adapter initialization is complete
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 <b98bb4279d1f4972981bed137bd5f5518ef013a8@emulex.com>
Signed-off-by: Jayamohan Kallickal <725f405d178c993f6a3c13d670846a138c9aba27@emulex.com>
Signed-off-by: Christoph Hellwig <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs