# md: constify VFTs

- Subsystems: SOFTWARE RAID (Multiple Disks) SUPPORT, THE REST
- Maintainers: Song Liu, Yu Kuai, Linus Torvalds
- List: linux-raid
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-raid/2009/01/6604813/t

## md: constify VFTs

- From: Jan Engelhardt \<hidden\>
- Date: 2009-01-11 22:47:18 
- Message: https://ratatoskr.run/linux-raid/2009/01/6604813.md

```text

This was already sent on January 22 2008 for 2.6.25, but on a recent
rebase of my constify branch still was not in for 2.6.29.
http://www.mail-archive.com/linux-raid@vger.kernel.org/msg10397.html


---8<---
parent 5b692aa02e68392e41a5b341e5c965b382fda948 (v2.6.29-rc1-6-g5b692aa)
commit e6422a7a52d38365b8697463bebaefcdcb179e3a
Author: Jan Engelhardt [ref]
Date:   Sun Jan 11 23:45:53 2009 +0100

md: constify VFTs

Signed-off-by: Jan Engelhardt <redacted>
---
 drivers/md/md.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/md/md.c b/drivers/md/md.c
index 41e2509..20c1634 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -5644,7 +5644,7 @@ static int md_seq_show(struct seq_file *seq, void *v)
 	return 0;
 }
 
-static struct seq_operations md_seq_ops = {
+static const struct seq_operations md_seq_ops = {
 	.start  = md_seq_start,
 	.next   = md_seq_next,
 	.stop   = md_seq_stop,
-- 
# Created with git-export-patch

```
