Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=12f32bb31772e72d8cf52a29f961561bccc54c37 Commit: 12f32bb31772e72d8cf52a29f961561bccc54c37 Parent: e7d9dc9cfd9bcc9ca688fe7f94c0da7d0700bfe6 Author: Jan Engelhardt <[EMAIL PROTECTED]> AuthorDate: Tue Jan 29 20:57:51 2008 +0100 Committer: Jens Axboe <[EMAIL PROTECTED]> CommitDate: Tue Jan 29 21:55:19 2008 +0100
block: constify function pointer tables Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> --- block/genhd.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/genhd.c b/block/genhd.c index 5e4ab4b..de2ebb2 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -337,7 +337,7 @@ static int show_partition(struct seq_file *part, void *v) return 0; } -struct seq_operations partitions_op = { +const struct seq_operations partitions_op = { .start = part_start, .next = part_next, .stop = part_stop, @@ -595,7 +595,7 @@ static int diskstats_show(struct seq_file *s, void *v) return 0; } -struct seq_operations diskstats_op = { +const struct seq_operations diskstats_op = { .start = diskstats_start, .next = diskstats_next, .stop = diskstats_stop, - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html