commit | 1960966d1b57628f730b66fe33cd2005846092e0 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Fri Jan 28 11:21:39 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Jan 31 10:28:41 2011 +0100 |
tree | 236b5ac2dabe47d9a3f75e35a343c7003addfb0e | |
parent | 904ebffee5a7e7d246039ad5826195fe51ccf769 [diff] |
blockdev: Put BlockInterfaceType names and max_devs in tables Turns drive_init()'s lengthy conditional into a concise loop, and makes the data available elsewhere. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>