mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
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 <harry.yoo@oracle.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
This commit is contained in:
parent
86169b00f8
commit
6f6fcd4634
1 changed files with 20 additions and 5 deletions
25
mm/slub.c
25
mm/slub.c
Loading…
Add table
Add a link
Reference in a new issue