blockdev: Move bus/unit/index processing to drive_init
commit87a899c5090c7864fc7dcff3ea0ac34153ea621b
authorKevin Wolf <kwolf@redhat.com>
Tue, 10 Sep 2013 13:48:13 +0000 (10 15:48 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:50:01 +0000 (11 16:50 +0200)
treeaa8c127ed6c04595a513ec39117a149c6a3ae130
parent26929298023b0592dc6ac8bc15163b5a24341670
blockdev: Move bus/unit/index processing to drive_init

This requires moving the automatic ID generation at the same time, so
let's do that as well.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
blockdev.c