dm thin metadata: pass correct space map to dm_sm_root_size
authorJoe Thornber <ejt@redhat.com>
Wed, 28 Mar 2012 17:41:25 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:25 +0000 (18:41 +0100)
commitfef838cc1ac34e599c74888274506d76767f3098
tree197179f2408018f66f5ca60b1c48bc4bea458072
parenta3aefb395e4f321c8b1314c88f1123624adcf743
dm thin metadata: pass correct space map to dm_sm_root_size

Fix a harmless typo.

The root is a chunk of data that gets written to the superblock.  This
data is used to recreate the space map when opening a metadata area.
We have two space maps; one tracking space on the metadata device and
one of the data device.  Both of these use the same format for their
root, so this typo was harmless.

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