projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4889d
)
dm thin metadata: call precommit before saving the roots
author
Joe Thornber
<ejt@redhat.com>
Mon, 15 May 2017 13:43:05 +0000
(09:43 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 25 May 2017 12:30:08 +0000
(14:30 +0200)
commit
91bcdb92d39711d1adb40c26b653b7978d93eb98
upstream.
These calls were the wrong way round in __write_initial_superblock.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-thin-metadata.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-thin-metadata.c
b/drivers/md/dm-thin-metadata.c
index 911ada64336407fe15f8b5d6fc2df026cf1649cc..3b67afda430b4a9a08eb44be1ca67288e54cccfd 100644
(file)
--- a/
drivers/md/dm-thin-metadata.c
+++ b/
drivers/md/dm-thin-metadata.c
@@
-485,11
+485,11
@@
static int __write_initial_superblock(struct dm_pool_metadata *pmd)
if (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;