]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm thin metadata: remove duplicate pmd initialisation
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:13 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:13 +0000 (15:08 +0100)
commitb79399510888998778ea6a3a281e30cbe59fdb37
treeeaec46591b4ed89a0d7deb4470fe948270ccb00e
parent8801e06945b6fec9927d5f7a04890a20061340c2
dm thin metadata: remove duplicate pmd initialisation

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