Martin K. Petersen
919f797a4c
SCSI: Fix error handling when no ULD is attached
...
Commit 18a4d0a22ed6 ("[SCSI] Handle disk devices which can not process
medium access commands") introduced a bug in which we would attempt to
dereference the scsi driver even when the device had no ULD attached.
Ensure that a driver is registered and make the driver accessor function
more resilient to errors during device discovery.
Reported-by: Elric Fu <elricfu1@gmail.com>
Reported-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-15 11:08:53 -07:00
..
2012-02-19 08:09:01 -06:00
2012-03-30 16:03:15 -07:00
2012-02-29 15:42:51 -06:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:58:21 -07:00
2012-03-28 10:02:46 +01:00
2012-03-31 13:31:23 -07:00
2012-03-23 10:07:16 -07:00
2012-03-22 12:55:29 -07:00
2012-02-22 12:15:19 -06:00
2012-03-31 13:31:23 -07:00
2012-03-28 11:33:24 +11:00
2012-03-22 12:55:29 -07:00
2012-03-31 13:31:23 -07:00
2012-03-22 12:55:29 -07:00
2012-04-05 15:30:34 -07:00
2012-01-16 11:28:33 +04:00
2012-03-31 13:31:23 -07:00
2012-03-22 12:55:29 -07:00
2012-02-25 08:25:09 -06:00
2012-03-31 13:31:23 -07:00
2012-03-22 12:55:29 -07:00
2012-03-31 13:31:23 -07:00
2012-03-27 08:26:28 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-31 13:31:23 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-19 08:08:56 -06:00
2012-02-19 09:40:51 -06:00
2012-02-19 08:08:55 -06:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:06:50 +01:00
2012-03-28 15:09:28 +01:00
2012-03-20 21:48:19 +08:00
2012-02-19 08:09:00 -06:00
2012-03-31 13:31:23 -07:00
2012-03-22 12:55:29 -07:00
2012-02-19 08:09:00 -06:00
2012-03-28 18:30:03 +01:00
2012-01-22 14:50:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-31 13:31:23 -07:00
2012-03-20 21:48:19 +08:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-21 11:40:37 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-31 13:31:23 -07:00
2012-04-15 11:08:53 -07:00
2012-03-22 12:55:29 -07:00
2012-01-14 18:36:33 -08:00
2012-02-18 08:54:19 -06:00
2012-02-18 08:54:19 -06:00
2012-03-12 09:13:31 -07:00
2012-02-19 08:08:57 -06:00
2012-03-27 08:26:36 +01:00
2012-02-29 15:43:54 -06:00
2012-02-19 10:14:52 -06:00
2012-03-20 21:48:19 +08:00
2012-03-31 13:31:23 -07:00
2012-02-19 10:14:52 -06:00
2012-01-16 12:17:29 +04:00
2012-03-31 13:31:23 -07:00
2012-03-27 08:26:34 +01:00
2012-03-21 09:40:26 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-19 09:50:20 -06:00
2012-03-27 08:26:36 +01:00
2012-03-27 08:26:36 +01:00
2012-03-28 18:30:03 +01:00