linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* md: constify VFTs
@ 2009-01-11 22:47 Jan Engelhardt
  2009-04-21  5:56 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-01-11 22:47 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid


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 <jengelh@medozas.de>
Date:   Sun Jan 11 23:45:53 2009 +0100

md: constify VFTs

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-21  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-11 22:47 md: constify VFTs Jan Engelhardt
2009-04-21  5:56 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).