dm thin metadata: move bm creation code into create_persistent_data_objects
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:10 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:10 +0000 (15:08 +0100)
commit332627db00a982b395f5b141d50298866bfec98c
tree88a5925a0850719b52f67d63ae6e5098bbb894ce
parent77f49a402769f7db022935ef317f1c12c1c06319
dm thin metadata: move bm creation code into create_persistent_data_objects

Move block manager creation and the check for unformatted metadata into
__create_persistent_data_objects().

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin-metadata.c