projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tests: Add test for PE binary format support
[linux-2.6-microblaze.git]
/
drivers
/
md
/
md-cluster.c
diff --git
a/drivers/md/md-cluster.c
b/drivers/md/md-cluster.c
index
73fd50e
..
d50737e
100644
(file)
--- a/
drivers/md/md-cluster.c
+++ b/
drivers/md/md-cluster.c
@@
-1139,6
+1139,7
@@
static int resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsiz
bitmap = get_bitmap_from_slot(mddev, i);
if (IS_ERR(bitmap)) {
pr_err("can't get bitmap from slot %d\n", i);
+ bitmap = NULL;
goto out;
}
counts = &bitmap->counts;