diff options
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
-rw-r--r-- | drivers/scsi/scsi_sysfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 902a5def8e62..89055494dfee 100644 --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c | |||
@@ -256,7 +256,9 @@ static void scsi_device_dev_release_usercontext(void *data) | |||
256 | 256 | ||
257 | static void scsi_device_dev_release(struct device *dev) | 257 | static void scsi_device_dev_release(struct device *dev) |
258 | { | 258 | { |
259 | scsi_execute_in_process_context(scsi_device_dev_release_usercontext, dev); | 259 | struct scsi_device *sdp = to_scsi_device(dev); |
260 | execute_in_process_context(scsi_device_dev_release_usercontext, dev, | ||
261 | &sdp->ew); | ||
260 | } | 262 | } |
261 | 263 | ||
262 | static struct class sdev_class = { | 264 | static struct class sdev_class = { |