Commit 6de4b1a
Darrick J. Wong
xfs: try to idiot-proof the allocators
In porting his development branch to 6.3-rc1, yours truly has
repeatedly screwed up the args->pag being fed to the xfs_alloc_vextent*
functions. Add some debugging assertions to test the preconditions
required of the callers.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>1 parent 8ac5b99 commit 6de4b1a
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3279 | 3279 | | |
3280 | 3280 | | |
3281 | 3281 | | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
3282 | 3285 | | |
3283 | 3286 | | |
3284 | 3287 | | |
| |||
3394 | 3397 | | |
3395 | 3398 | | |
3396 | 3399 | | |
| 3400 | + | |
| 3401 | + | |
3397 | 3402 | | |
3398 | 3403 | | |
3399 | 3404 | | |
| |||
3442 | 3447 | | |
3443 | 3448 | | |
3444 | 3449 | | |
| 3450 | + | |
| 3451 | + | |
3445 | 3452 | | |
3446 | 3453 | | |
3447 | 3454 | | |
| |||
3470 | 3477 | | |
3471 | 3478 | | |
3472 | 3479 | | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
3473 | 3483 | | |
3474 | 3484 | | |
3475 | 3485 | | |
| |||
3502 | 3512 | | |
3503 | 3513 | | |
3504 | 3514 | | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
3505 | 3518 | | |
3506 | 3519 | | |
3507 | 3520 | | |
| |||
0 commit comments