Repository navigation
Commit f1932fc
committed
crush: fix mapping calculation when force argument doesn't exist
If the force argument isn't valid, we should continue calculating a
mapping as if it weren't specified.
Signed-off-by: Sage Weil <sage@newdream.net>1 parent be65559 commit f1932fc
1 file changed
Lines changed: 13 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | 480 | | |
482 | 481 | | |
483 | 482 | | |
| |||
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
511 | 505 | | |
512 | 506 | | |
513 | 507 | | |
| |||
600 | 594 | | |
601 | 595 | | |
602 | 596 | | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
| 597 | + | |
607 | 598 | | |
608 | 599 | | |
609 | 600 | | |
0 commit comments