diff options
author | Hannes Reinecke <hare@suse.de> | 2017-09-15 13:12:14 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-09-15 15:44:49 -0400 |
commit | 7eccdf005b2f240b9e9f53c72eb19367e21a8cf8 (patch) | |
tree | f98061c1c54080ac2897df2364b2c15234c03583 /drivers/scsi/libsas | |
parent | 6f7f74abaec12af6becf0a471d5968bce2f389b6 (diff) | |
download | linux-7eccdf005b2f240b9e9f53c72eb19367e21a8cf8.tar.bz2 |
scsi: fcoe: open-code fcoe_destroy_work() for NETDEV_UNREGISTER
When a NETDEV_UNREGISTER notification is received the network device is
_deleted_ after the callback returns. So we cannot use a workqueue
here, as this would cause an inversion when removing the device as the
netdev is already gone. This manifests with a nasty warning during
shutdown:
sysfs group ffffffff81eff0e0 not found for kobject 'fc_host7'
So open-code fcoe_destroy_work() when receiving the notification to
avoid this inversion.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions