dm thin metadata: factor out __write_initial_superblock
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)
commit9cb6653f9a515f6cb0eaabfb27a2204b0aaf4e48
tree4ee954b9f28e131ac1429b5f905f8688c1e8a921
parent6a0ebd31b6b504621254f5d453d618d36b0179a1
dm thin metadata: factor out __write_initial_superblock

Factor out __write_initial_superblock and also pull some other initial
creation code out of dm_pool_metadata_open.

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