mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
mm/slab: create sysfs attribute through default_groups
The driver core can automatically create custom type attributes. This makes the code and error-handling shorter. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Harry Yoo <harry.yoo@oracle.com> Link: https://patch.msgid.link/20260223-sysfs-const-slub-v1-1-ff86ffc26fff@weissschuh.net Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
This commit is contained in:
parent
6de23f81a5
commit
5aa2a02b98
1 changed files with 2 additions and 10 deletions
12
mm/slub.c
12
mm/slub.c
Loading…
Add table
Add a link
Reference in a new issue