Commit 12f32bb3 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Jens Axboe

block: constify function pointer tables

Signed-off-by: default avatarJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent e7d9dc9c
...@@ -337,7 +337,7 @@ static int show_partition(struct seq_file *part, void *v) ...@@ -337,7 +337,7 @@ static int show_partition(struct seq_file *part, void *v)
return 0; return 0;
} }
struct seq_operations partitions_op = { const struct seq_operations partitions_op = {
.start = part_start, .start = part_start,
.next = part_next, .next = part_next,
.stop = part_stop, .stop = part_stop,
...@@ -595,7 +595,7 @@ static int diskstats_show(struct seq_file *s, void *v) ...@@ -595,7 +595,7 @@ static int diskstats_show(struct seq_file *s, void *v)
return 0; return 0;
} }
struct seq_operations diskstats_op = { const struct seq_operations diskstats_op = {
.start = diskstats_start, .start = diskstats_start,
.next = diskstats_next, .next = diskstats_next,
.stop = diskstats_stop, .stop = diskstats_stop,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment