]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: make queue_sysfs_entry instances const
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 16 Mar 2026 22:43:51 +0000 (23:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Mar 2026 01:29:16 +0000 (19:29 -0600)
commit223983874d0366ac12d30eab3b633d699bdf763e
tree81e99f93e916bff2af0f4cf74a71f7fc635e882f
parente80fd7a08940093aad5ea247a42046b57709a7bd
block: make queue_sysfs_entry instances const

The queue_sysfs_entry structures are never modified, mark them as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20260316-b4-sysfs-const-attr-block-v1-1-a35d73b986b0@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c