Commit 799af94
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 <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240613084839.1044015-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent d11854e commit 799af94
1 file changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3204 | 3204 | | |
3205 | 3205 | | |
3206 | 3206 | | |
3207 | | - | |
3208 | 3207 | | |
3209 | 3208 | | |
3210 | 3209 | | |
| |||
3238 | 3237 | | |
3239 | 3238 | | |
3240 | 3239 | | |
3241 | | - | |
| 3240 | + | |
3242 | 3241 | | |
3243 | 3242 | | |
3244 | 3243 | | |
| |||
3252 | 3251 | | |
3253 | 3252 | | |
3254 | 3253 | | |
3255 | | - | |
3256 | | - | |
| 3254 | + | |
3257 | 3255 | | |
3258 | 3256 | | |
3259 | 3257 | | |
| |||
3277 | 3275 | | |
3278 | 3276 | | |
3279 | 3277 | | |
3280 | | - | |
| 3278 | + | |
3281 | 3279 | | |
3282 | | - | |
3283 | | - | |
3284 | | - | |
3285 | | - | |
3286 | | - | |
3287 | | - | |
3288 | 3280 | | |
3289 | 3281 | | |
3290 | 3282 | | |
| |||
0 commit comments