Commit 0dfa065
committed
md/raid0: don't free conf on raid0_run failure
JIRA: https://issues.redhat.com/browse/RHEL-83988
commit d11854e
Author: Christoph Hellwig <hch@lst.de>
Date: Thu Jun 13 10:48:12 2024 +0200
md/raid0: don't free conf on raid0_run failure
The core md code calls the ->free method which already frees conf.
Fixes: 0c031fd ("md: Move alloc/free acct bioset in to personality")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240613084839.1044015-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent 0b56c4c commit 0dfa065
1 file changed
+5
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | 368 | | |
376 | 369 | | |
377 | 370 | | |
378 | 371 | | |
379 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
| |||
419 | 414 | | |
420 | 415 | | |
421 | 416 | | |
422 | | - | |
| 417 | + | |
423 | 418 | | |
424 | 419 | | |
425 | 420 | | |
| |||
431 | 426 | | |
432 | 427 | | |
433 | 428 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 429 | + | |
441 | 430 | | |
442 | 431 | | |
443 | 432 | | |
| |||
0 commit comments