md: constify VFTs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx/msg10397.html


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

md: constify VFTs

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux