commit | 33cb7dc8b7a26ccdff2f054056d3f2e487cbb4cd | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Aug 28 17:00:13 2013 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 11 16:50:01 2013 +0200 |
tree | 2215c574f0fef99c07b219ecbef55c929e040afd | |
parent | f298d071662af6cf5dc221ee3e3bd0154035e570 [diff] |
blockdev: Move parsing of 'media' option to drive_init This moves as much as possible of the processing of the 'media' option to drive_init so that it can only be accessed using legacy functions, but never with anything blockdev-add related. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Reviewed-by: Eric Blake <eblake@redhat.com>