Commit 2eaeac5
committed
md/raid1: don't free conf on raid0_run failure
JIRA: https://issues.redhat.com/browse/RHEL-83988
commit 799af94
Author: Christoph Hellwig <hch@lst.de>
Date: Thu Jun 13 10:48:13 2024 +0200
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>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent 0dfa065 commit 2eaeac5
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3220 | 3220 | | |
3221 | 3221 | | |
3222 | 3222 | | |
3223 | | - | |
3224 | 3223 | | |
3225 | 3224 | | |
3226 | 3225 | | |
| |||
3254 | 3253 | | |
3255 | 3254 | | |
3256 | 3255 | | |
3257 | | - | |
| 3256 | + | |
3258 | 3257 | | |
3259 | 3258 | | |
3260 | 3259 | | |
| |||
3268 | 3267 | | |
3269 | 3268 | | |
3270 | 3269 | | |
3271 | | - | |
3272 | | - | |
| 3270 | + | |
3273 | 3271 | | |
3274 | 3272 | | |
3275 | 3273 | | |
| |||
3293 | 3291 | | |
3294 | 3292 | | |
3295 | 3293 | | |
3296 | | - | |
| 3294 | + | |
3297 | 3295 | | |
3298 | | - | |
3299 | | - | |
3300 | | - | |
3301 | | - | |
3302 | | - | |
3303 | | - | |
3304 | 3296 | | |
3305 | 3297 | | |
3306 | 3298 | | |
| |||
0 commit comments