commit | e34ef046412431acf5b4e30762390b4048187bb8 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Sep 19 14:24:10 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 11 16:50:02 2013 +0200 |
tree | 351468bba2ad23ae063b7404298908f021359daf | |
parent | a9b43397a9782d028f45b63fb4affee164f85948 [diff] |
blockdev: Remove 'media' parameter from blockdev_init() The remaining users shouldn't be there with blockdev-add and are easy to move to drive_init(). Bonus bug fix: As a side effect, CD-ROM drives can now use block drivers on the read-only whitelist without explicitly specifying read-only=on, even if a format is explicitly specified. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>