]> www.infradead.org Git - nvme.git/commit
elevator: Enable const sysfs attributes
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 2 Jan 2025 12:01:31 +0000 (13:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Jan 2025 20:20:29 +0000 (13:20 -0700)
commit044792cda05a97ae1da330771ec2140ae86439ec
tree6b5164e64d2eedacc610d1a03a4061b08511d6a3
parentcb01ecb79943367f9903b1f1ffb4afb6a3f4d715
elevator: Enable const sysfs attributes

The elevator core does not need to modify the sysfs attributes added by
the elevators. Reflect this in the types, so the attributes can be moved
into read-only memory.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250102-sysfs-const-attr-elevator-v1-1-9837d2058c60@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c
block/elevator.h