Commit 6f6fcd4
committed
slab: move validate_slab_ptr() from check_slab() to its callers
We will want to do the validation earlier in some callers or remove it
completely, so extract it from check_slab() first. No functional change.
Reviewed-by: Harry Yoo <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>1 parent 86169b0 commit 6f6fcd4
1 file changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1458 | 1458 | | |
1459 | 1459 | | |
1460 | 1460 | | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1461 | 1466 | | |
1462 | 1467 | | |
1463 | 1468 | | |
1464 | 1469 | | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | 1470 | | |
1471 | 1471 | | |
1472 | 1472 | | |
| |||
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
1636 | 1641 | | |
1637 | 1642 | | |
1638 | 1643 | | |
| |||
3485 | 3490 | | |
3486 | 3491 | | |
3487 | 3492 | | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
3488 | 3498 | | |
3489 | 3499 | | |
3490 | 3500 | | |
| |||
6519 | 6529 | | |
6520 | 6530 | | |
6521 | 6531 | | |
| 6532 | + | |
| 6533 | + | |
| 6534 | + | |
| 6535 | + | |
| 6536 | + | |
6522 | 6537 | | |
6523 | 6538 | | |
6524 | 6539 | | |
| |||
0 commit comments