]> git.ipfire.org Git - thirdparty/linux.git/commit
mm/slab: create sysfs attribute through default_groups
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 23 Feb 2026 21:37:43 +0000 (22:37 +0100)
committerVlastimil Babka (SUSE) <vbabka@kernel.org>
Thu, 26 Feb 2026 14:25:06 +0000 (15:25 +0100)
commit5aa2a02b985f36a9042b2c7fa63a15de096effb9
tree460c0586e8ce7dc9288c84433258b2c6fb8cf54b
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
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>
mm/slub.c