dm thin metadata: lift some initialisation out of __open_or_format_metadata
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)
commit6a0ebd31b6b504621254f5d453d618d36b0179a1
tree2c9620617b5302d0ab7432112e0be5f0918de7f6
parentf9dd9352b92cd66729fcb0f0e32f647e811d9083
dm thin metadata: lift some initialisation out of __open_or_format_metadata

Lift some initialisation out of __open_or_format_metadata in dm-thin-metadata.

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