]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Remove some duplicate initialisation of struct dm_pool_metadata.
authorJoe Thornber <ejt@redhat.com>
Tue, 24 Jul 2012 23:25:29 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:29 +0000 (09:25 +1000)
commitc2861b4d3ad427104f46510de70b25a882f78fa4
tree26d9aa3691ce2dd4643044966a7945366da1efe4
parenta3fc54ef0640bbeec4e50eb29bbc3b36a08b7a72
Remove some duplicate initialisation of struct dm_pool_metadata.

These pmd fields are initialised by both:
  __format_metadata's calls to dm_btree_empty
  __write_initial_superblock + __begin_transaction

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