diff options
| author | Hannes Reinecke <[email protected]> | 2017-09-15 13:12:14 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-09-15 15:44:49 -0400 |
| commit | 7eccdf005b2f240b9e9f53c72eb19367e21a8cf8 (patch) | |
| tree | f98061c1c54080ac2897df2364b2c15234c03583 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 6f7f74abaec12af6becf0a471d5968bce2f389b6 (diff) | |
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 <[email protected]>
Reviewed-by: Lee Duncan <[email protected]>
Acked-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions