Markus Armbruster
1f69c2b022
fdc: Drop broken code for user-defined floppy geometry
...
bdrv_get_floppy_geometry_hint() fails to store through its parameter
drive when bs has a geometry hint. Makes fd_revalidate() assign
random crap to drv->drive.
Has been broken that way for ages. Harmless, because:
* The only way to set a geometry hint is -drive if=none,cyls=...
Since commit c219331e, probably unintentional.
* The only use of drv->drive is as argument to another
bdrv_get_floppy_geometry_hint(). Which doesn't use it, since the
geometry hint is still there.
Drop the broken code, ignore -drive parameter cyls, heads and secs for
floppies even with if=none, just like before commit c219331e. Matches
-help, which explains cyls, heads, secs as "hard disk physical
geometry".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-07-09 15:53:03 +02:00
..
2012-07-04 10:43:34 +00:00
2012-06-21 16:06:11 +00:00
2012-06-27 16:33:25 -05:00
2012-06-19 13:32:42 -05:00
2012-06-15 12:44:27 +02:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:25 -05:00
2012-06-19 13:24:44 +00:00
2012-06-19 13:24:44 +00:00
2012-06-19 13:36:56 -05:00
2012-06-19 13:36:56 -05:00
2012-06-19 13:36:56 -05:00
2012-06-21 16:06:11 +00:00
2012-06-21 16:06:11 +00:00
2012-06-19 13:24:44 +00:00
2012-06-19 13:24:44 +00:00
2012-06-19 13:24:44 +00:00
2012-06-19 13:24:44 +00:00
2012-06-26 15:09:47 -05:00
2012-06-18 15:14:37 +02:00
2012-06-11 00:23:04 +02:00
2012-06-19 13:24:44 +00:00
2012-06-19 13:24:44 +00:00
2012-06-11 00:23:04 +02:00
2012-06-19 13:36:56 -05:00
2012-06-19 13:36:56 -05:00
2012-07-04 10:50:58 +00:00
2012-06-19 13:24:44 +00:00
2012-06-22 10:46:12 +02:00
2012-06-11 00:23:04 +02:00
2012-06-11 00:23:04 +02:00
2012-06-19 12:49:32 +00:00
2012-07-04 10:43:30 +00:00
2012-07-04 10:43:31 +00:00
2012-07-04 10:43:32 +00:00
2012-07-04 10:43:32 +00:00
2012-06-19 12:49:32 +00:00
2012-07-09 15:53:03 +02:00
2012-06-15 14:03:42 +02:00
2012-06-11 00:23:04 +02:00
2012-06-18 15:14:38 +02:00
2012-07-04 10:43:34 +00:00
2012-07-04 10:43:33 +00:00
2012-07-04 10:43:33 +00:00
2012-07-04 10:43:33 +00:00
2012-07-04 10:43:33 +00:00
2012-06-11 00:23:04 +02:00
2012-06-18 10:35:16 -05:00
2012-06-18 15:14:38 +02:00
2012-06-07 17:19:00 +03:00
2012-06-18 15:14:38 +02:00
2012-06-18 10:35:16 -05:00
2012-06-07 17:19:00 +03:00
2012-07-04 10:43:34 +00:00
2012-06-24 01:04:51 +02:00
2012-06-18 15:14:38 +02:00
2012-06-18 15:14:37 +02:00
2012-06-11 00:23:04 +02:00
2012-06-15 12:44:27 +02:00
2012-06-08 16:11:14 +02:00
2012-06-19 13:36:56 -05:00
2012-06-07 17:19:01 +03:00
2012-06-07 17:19:01 +03:00
2012-06-11 00:23:04 +02:00
2012-06-19 13:36:56 -05:00
2012-06-11 00:23:04 +02:00
2012-06-11 00:23:04 +02:00
2012-06-11 00:23:04 +02:00
2012-06-19 13:24:44 +00:00
2012-06-11 00:23:04 +02:00
2012-06-22 10:49:55 +02:00
2012-06-15 14:03:42 +02:00
2012-06-19 13:36:56 -05:00
2012-06-19 13:36:56 -05:00
2012-06-11 22:55:13 +03:00
2012-06-18 10:35:16 -05:00
2012-06-21 16:06:10 +00:00
2012-06-27 16:33:26 -05:00
2012-06-18 15:14:38 +02:00
2012-06-27 16:33:26 -05:00
2012-06-27 16:33:26 -05:00
2012-06-15 13:08:13 +02:00
2012-06-15 13:08:13 +02:00
2012-06-24 01:04:52 +02:00
2012-06-11 00:23:04 +02:00
2012-06-20 12:01:58 +00:00
2012-06-20 12:01:55 +00:00
2012-06-11 00:23:04 +02:00
2012-06-08 16:11:14 +02:00
2012-06-27 16:33:25 -05:00
2012-06-24 10:45:55 +00:00
2012-06-21 16:06:10 +00:00
2012-06-27 16:26:59 -05:00
2012-06-21 16:06:10 +00:00
2012-06-22 10:49:55 +02:00
2012-06-22 10:49:45 +02:00
2012-06-11 00:23:04 +02:00
2012-06-27 16:27:00 -05:00
2012-06-18 15:14:38 +02:00
2012-06-18 15:14:38 +02:00
2012-06-11 00:23:04 +02:00
2012-06-19 13:36:56 -05:00
2012-06-19 13:36:56 -05:00
2012-06-18 15:14:38 +02:00
2012-06-07 17:18:58 +03:00
2012-06-24 01:04:45 +02:00
2012-06-27 16:33:26 -05:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:26 -05:00
2012-06-27 16:33:26 -05:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:25 -05:00
2012-06-27 16:33:26 -05:00
2012-06-11 00:23:04 +02:00
2012-06-18 15:14:38 +02:00
2012-06-11 00:23:04 +02:00
2012-06-11 00:23:03 +02:00
2012-06-18 15:14:38 +02:00
2012-06-18 15:14:38 +02:00
2012-06-11 00:23:04 +02:00
2012-06-27 16:33:25 -05:00
2012-06-11 00:23:04 +02:00
2012-06-11 00:23:04 +02:00
2012-06-22 10:46:12 +02:00
2012-06-22 10:46:12 +02:00
2012-06-22 10:46:12 +02:00
2012-06-22 10:49:55 +02:00
2012-06-22 10:46:12 +02:00
2012-06-15 13:08:13 +02:00
2012-06-15 13:34:50 -03:00
2012-06-07 17:19:00 +03:00
2012-06-18 15:14:38 +02:00
2012-06-18 15:14:38 +02:00
2012-06-22 10:49:55 +02:00
2012-06-19 13:36:56 -05:00
2012-06-21 11:43:59 +00:00
2012-06-26 15:05:45 -05:00
2012-06-21 11:43:59 +00:00
2012-06-15 14:03:43 +02:00
2012-06-21 11:43:59 +00:00
2012-06-11 00:23:04 +02:00
2012-06-21 11:43:59 +00:00
2012-06-21 16:06:10 +00:00
2012-06-21 16:06:11 +00:00
2012-06-21 16:06:11 +00:00
2012-06-21 16:06:11 +00:00
2012-06-21 16:06:11 +00:00
2012-06-21 16:06:10 +00:00
2012-06-21 16:06:10 +00:00
2012-06-21 11:43:59 +00:00
2012-06-15 13:08:13 +02:00
2012-06-15 13:08:13 +02:00
2012-06-15 13:08:13 +02:00
2012-06-15 13:08:13 +02:00
2012-06-21 15:19:16 +02:00
2012-06-15 13:08:13 +02:00
2012-06-11 00:23:04 +02:00
2012-06-15 13:08:13 +02:00
2012-06-07 17:19:00 +03:00
2012-06-07 17:19:00 +03:00
2012-06-15 14:03:42 +02:00
2012-06-11 00:23:04 +02:00