projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b8d89
)
md-cluster: choose correct label when clustered layout is not supported
author
Lidong Zhong
<lzhong@suse.com>
Tue, 23 Jan 2018 15:06:12 +0000
(23:06 +0800)
committer
Shaohua Li
<sh.li@alibaba-inc.com>
Sun, 25 Feb 2018 18:36:55 +0000
(10:36 -0800)
r10conf is already successfully allocated before checking the layout
Signed-off-by: Lidong Zhong <lzhong@suse.com>
Reviewed-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <sh.li@alibaba-inc.com>
drivers/md/raid10.c
patch
|
blob
|
history
diff --git
a/drivers/md/raid10.c
b/drivers/md/raid10.c
index 9e9441fde8b39ce7978c06f9e2cc72f803c45e47..93fa947fef22cf95ed6ea25e1621f09f78218f14 100644
(file)
--- a/
drivers/md/raid10.c
+++ b/
drivers/md/raid10.c
@@
-3784,7
+3784,7
@@
static int raid10_run(struct mddev *mddev)
if (fc > 1 || fo > 0) {
pr_err("only near layout is supported by clustered"
" raid10\n");
- goto out;
+ goto out
_free_conf
;
}
}