The elevator core does not need to modify the sysfs attributes added by the elevators. Move the attributes into read-only memory. Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx> --- Thomas Weißschuh (4): elevator: Enable const sysfs attributes block: mq-deadline: Constify sysfs attributes block, bfq: constify sysfs attributes kyber: constify sysfs attributes block/bfq-iosched.c | 2 +- block/elevator.c | 8 ++++---- block/elevator.h | 2 +- block/kyber-iosched.c | 2 +- block/mq-deadline.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) --- base-commit: 56e6a3499e14716b9a28a307bb6d18c10e95301e change-id: 20241231-sysfs-const-attr-elevator-97843481ad5e Best regards, -- Thomas Weißschuh <linux@xxxxxxxxxxxxxx>