mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
This commit is contained in:
parent
a3aefb395e
commit
fef838cc1a
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ static int __commit_transaction(struct dm_pool_metadata *pmd)
|
|||
if (r < 0)
|
||||
goto out;
|
||||
|
||||
r = dm_sm_root_size(pmd->metadata_sm, &data_len);
|
||||
r = dm_sm_root_size(pmd->data_sm, &data_len);
|
||||
if (r < 0)
|
||||
goto out;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue