projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md/bitmap: ensure to load bitmap when creating via sysfs.
[deliverable/linux.git]
/
drivers
/
md
/
bitmap.c
diff --git
a/drivers/md/bitmap.c
b/drivers/md/bitmap.c
index cdf36b1e9aa6f28af6f2f1ed9042a02f3f41b8f0..239af9a9aad1d1ae4feb9e8e69f6f582007b087d 100644
(file)
--- a/
drivers/md/bitmap.c
+++ b/
drivers/md/bitmap.c
@@
-1904,6
+1904,8
@@
location_store(struct mddev *mddev, const char *buf, size_t len)
if (mddev->pers) {
mddev->pers->quiesce(mddev, 1);
rv = bitmap_create(mddev);
+ if (!rv)
+ rv = bitmap_load(mddev);
if (rv) {
bitmap_destroy(mddev);
mddev->bitmap_info.offset = 0;
This page took
0.024943 seconds
and
5
git commands to generate.