We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d9dc9 commit 12f32bbCopy full SHA for 12f32bb
block/genhd.c
@@ -337,7 +337,7 @@ static int show_partition(struct seq_file *part, void *v)
337
return 0;
338
}
339
340
-struct seq_operations partitions_op = {
+const struct seq_operations partitions_op = {
341
.start = part_start,
342
.next = part_next,
343
.stop = part_stop,
@@ -595,7 +595,7 @@ static int diskstats_show(struct seq_file *s, void *v)
595
596
597
598
-struct seq_operations diskstats_op = {
+const struct seq_operations diskstats_op = {
599
.start = diskstats_start,
600
.next = diskstats_next,
601
.stop = diskstats_stop,
0 commit comments