Skip to content
Commit d1d28bd9 authored by Lianjie Zhang's avatar Lianjie Zhang Committed by Vlastimil Babka
Browse files

mm/slub: use helper macro __ATTR_XX_MODE for SLAB_ATTR(_RO)



This allows more concise code, and VERIFY_OCTAL_PERMISSIONS() can help
validate any future change.

Signed-off-by: default avatarLianjie Zhang <zhanglianjie@uniontech.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
Link: https://lore.kernel.org/r/20220306073818.15089-1-zhanglianjie@uniontech.com
parent 7d6b6cc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment