Markus Armbruster 620f862e1c scsi: Reject unimplemented error actions
drive_init() doesn't permit rerror for if=scsi, but that's worthless:
we get it via if=none and -device.

Moreover, scsi-generic doesn't support werror.  Since drive_init()
doesn't catch that, option werror was silently ignored even with
if=scsi.

Wart: unlike drive_init(), we don't reject the default action when
it's explicitly specified.  That's because we can't distinguish "no
rerror option" from "rerror=report", or "no werror" from
"rerror=enospc".  Left for another day.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-07-06 17:05:49 +02:00
..
2010-06-13 19:00:50 +01:00
2010-05-15 17:36:13 +00: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-05-21 12:00:22 +02:00
2010-04-05 19:43:12 +01:00
2010-04-08 21:17:10 +02:00
2010-04-08 21:44:38 +02:00
2010-03-21 19:47:15 +00:00
2010-02-07 19:28:32 +00:00
2010-04-05 19:57:40 +01:00
2010-05-22 08:00:52 +00:00
2010-06-13 19:00:50 +01:00
2010-04-18 08:55:12 +00:00
2010-04-18 08:55:12 +00:00
2010-02-07 08:05:47 +00:00
2010-07-06 17:05:49 +02:00
2010-03-29 19:23:56 +00:00
2010-06-27 16:04:55 +00:00
2010-02-07 09:15:26 +00:00
2010-03-21 19:47:15 +00:00
2010-06-14 11:12:53 -05:00
2010-06-13 19:00:50 +01:00
2010-05-29 20:23:19 +00: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-02-07 08:05:03 +00:00
2010-03-30 17:36:23 +00:00
2010-06-30 19:39:45 +02:00
2010-03-27 07:26:16 +00:00
2010-02-07 08:05:03 +00:00
2010-06-30 20:41:36 +02:00
2010-06-30 20:41:37 +02:00
2010-06-30 20:41:37 +02:00
2010-03-29 19:23:59 +00:00
2010-03-23 09:59:54 +01:00
2010-03-21 19:47:15 +00:00
2010-05-22 07:59:06 +00:00
2010-05-28 21:33:59 +02:00
2010-03-21 19:47:15 +00:00
2010-03-21 19:47:11 +00:00
2010-02-14 16:10:54 +02:00
2010-05-18 21:12:54 +02:00
2010-03-21 19:47:11 +00:00
2010-03-29 19:24:04 +00:00
2010-03-09 08:47:20 -06:00
2010-04-05 19:57:40 +01:00
2010-04-05 19:57:40 +01:00
2010-06-29 23:26:34 +02:00
2010-04-04 21:18:26 +01:00
2010-04-09 22:06:22 +02:00
2010-04-09 22:06:22 +02:00
2010-04-13 20:17:24 +02:00
2010-05-15 13:57:22 +00:00
2010-05-26 19:14:21 +00:00
2010-03-30 17:36:23 +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-03-21 19:47:09 +00:00
2010-04-08 11:11:21 +02:00
2010-05-22 08:02:12 +00:00
2010-04-01 13:56:43 -05:00
2010-04-14 00:12:04 +02:00
2010-04-01 13:56:43 -05:00
2010-06-07 17:23:04 +03:00
2010-06-13 19:00:50 +01:00
2010-05-12 18:07:54 +03:00
2010-05-22 07:59:01 +00:00
2010-02-03 19:47:34 -02:00
2010-03-09 08:47:27 -06:00
2010-06-13 19:00:50 +01:00