Bernhard Kohl 333d50fe3d scsi-disk: fix the check of the DBD bit in the MODE SENSE command
The DBD bit does not work as expected.

SCSI-Spec:
http://ldkelley.com/SCSI2/SCSI2/SCSI2-08.html#8.2.10
"A disable block descriptors (DBD) bit of zero indicates that the target
may return zero or more block descriptors in the returned MODE SENSE
data (see 8.3.3), at the target's discretion. A DBD bit of one
specifies that the target shall not return any block descriptors in the
returned MODE SENSE data."

Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-09-08 12:39:11 +02:00
..
2010-08-24 15:22:24 +00:00
2010-06-13 19:00:50 +01:00
2010-05-15 17:36:13 +00:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-06-19 07:47:42 +00:00
2010-06-19 07:47:42 +00:00
2010-05-15 17:36:13 +00:00
2010-07-11 20:33:10 +03:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-04-08 21:17:10 +02:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-04-08 21:44:38 +02:00
2010-08-24 15:22:24 +00:00
2010-04-05 19:57:40 +01:00
2010-07-06 10:36:28 -05:00
2010-04-18 08:55:12 +00:00
2010-04-18 08:55:12 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-03-29 19:23:56 +00:00
2010-06-27 16:04:55 +00:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-06-14 11:12:53 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-06-19 07:41:43 +00:00
2010-03-21 19:47:09 +00:00
2010-05-22 08:00:52 +00:00
2010-07-31 17:14:50 +02:00
2010-07-30 23:05:51 +02:00
2010-07-06 10:36:27 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:27 -05:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-06-30 20:41:36 +02:00
2010-06-30 20:41:37 +02:00
2010-08-24 15:22:24 +00:00
2010-06-30 20:41:37 +02:00
2010-08-28 08:50:40 +00:00
2010-08-24 15:22:24 +00:00
2010-03-23 09:59:54 +01:00
2010-03-21 19:47:15 +00:00
2010-08-24 15:22:24 +00:00
2010-07-11 23:31:52 +03:00
2010-08-24 15:22:24 +00:00
2010-07-11 23:14:57 +03:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-03-21 19:47:11 +00:00
2010-08-24 15:22:24 +00:00
2010-05-18 21:12:54 +02:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-04-05 19:57:40 +01:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-07-11 23:15:22 +03:00
2010-04-09 22:06:22 +02:00
2010-04-09 22:06:22 +02:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-04-13 20:17:24 +02:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-06-13 23:37:31 +01:00
2010-04-04 21:18:26 +01:00
2010-03-31 11:16:52 -05:00
2010-08-24 15:22:24 +00:00
2010-04-08 11:11:21 +02:00
2010-07-06 10:36:28 -05:00
2010-07-06 10:36:28 -05:00
2010-08-22 17:11:06 -05:00
2010-07-30 23:25:25 +02:00
2010-04-01 13:56:43 -05:00
2010-07-30 23:25:25 +02:00
2010-04-01 13:56:43 -05:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-06-13 19:00:50 +01:00
2010-08-30 18:29:19 +02:00
2010-08-30 18:29:19 +02:00
2010-07-06 10:36:28 -05:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-08-24 15:22:24 +00:00
2010-06-13 19:00:50 +01:00
2010-07-06 10:36:28 -05:00