Commit 17f91ac
md/raid1: don't free conf on raid0_run failure
The core md code calls the ->free method which already frees conf.
Fixes: 07f1a68 ("md/raid1: fail run raid1 array when active disk less than one")
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 35f20ac commit 17f91ac
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3203 | 3203 | | |
3204 | 3204 | | |
3205 | 3205 | | |
3206 | | - | |
3207 | 3206 | | |
3208 | 3207 | | |
3209 | 3208 | | |
| |||
3237 | 3236 | | |
3238 | 3237 | | |
3239 | 3238 | | |
3240 | | - | |
| 3239 | + | |
3241 | 3240 | | |
3242 | 3241 | | |
3243 | 3242 | | |
| |||
3251 | 3250 | | |
3252 | 3251 | | |
3253 | 3252 | | |
3254 | | - | |
3255 | | - | |
| 3253 | + | |
3256 | 3254 | | |
3257 | 3255 | | |
3258 | 3256 | | |
| |||
3276 | 3274 | | |
3277 | 3275 | | |
3278 | 3276 | | |
3279 | | - | |
| 3277 | + | |
3280 | 3278 | | |
3281 | | - | |
3282 | | - | |
3283 | | - | |
3284 | | - | |
3285 | | - | |
3286 | | - | |
3287 | 3279 | | |
3288 | 3280 | | |
3289 | 3281 | | |
| |||
0 commit comments