Patch "dm thin metadata: call precommit before saving the roots" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
dm thin metadata: call precommit before saving the roots
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
dm-thin-metadata-call-precommit-before-saving-the-roots.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
91bcdb92d39711d1adb40c26b653b7978d93eb98Mon Sep 17 00:00:00 2001
From: Joe Thornber <[email protected]>
Date: Mon, 15 May 2017 09:43:05 -0400
Subject: dm thin metadata: call precommit before saving the roots
From: Joe Thornber <[email protected]>
commit 91bcdb92d39711d1adb40c26b653b7978d93eb98 upstream.
These calls were the wrong way round in __write_initial_superblock.
--- drivers/md/dm-thin-metadata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/md/dm-thin-metadata.c +2 -2
@@ -485,11 +485,11 @@ static int __write_initial_superblock(stif (r <0 )return r; - r =save_sm_roots (pmd); + r =dm_tm_pre_commit (pmd->tm);if (r <0 )return r; - r =dm_tm_pre_commit (pmd->tm); + r =save_sm_roots (pmd);if (r <0 )return r;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/dm-space-map-disk-fix-some-book-keeping-in-the-disk-space-map.patch queue-4.4/dm-thin-metadata-call-precommit-before-saving-the-roots.patch