dm thin metadata: call precommit before saving the roots
authorJoe Thornber <ejt@redhat.com>
Mon, 15 May 2017 13:43:05 +0000 (09:43 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 19:09:49 +0000 (15:09 -0400)
commit91bcdb92d39711d1adb40c26b653b7978d93eb98
tree902e45cf68253df1cfbcd9414f9be854d3eda5c6
parent2e63309507c818e8b631a03f02c363031c007fb7
dm thin metadata: call precommit before saving the roots

These calls were the wrong way round in __write_initial_superblock.

Cc: stable@vger.kernel.org
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin-metadata.c