浏览代码

md: constify VFTs

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Jan Engelhardt 16 年之前
父节点
当前提交
110518bccf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/md/md.c

+ 1 - 1
drivers/md/md.c

@@ -5976,7 +5976,7 @@ static int md_seq_show(struct seq_file *seq, void *v)
 	return 0;
 	return 0;
 }
 }
 
 
-static struct seq_operations md_seq_ops = {
+static const struct seq_operations md_seq_ops = {
 	.start  = md_seq_start,
 	.start  = md_seq_start,
 	.next   = md_seq_next,
 	.next   = md_seq_next,
 	.stop   = md_seq_stop,
 	.stop   = md_seq_stop,