diff options
author | Denis Cheng <crquan@gmail.com> | 2007-07-31 06:31:11 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-10 03:55:03 -0400 |
commit | 4ef290025ccde7c52ba219cf733a4295acd5401f (patch) | |
tree | 9879ae00580d4869bfa0a443f00b3713c34f4bda /fs/gfs2/glock.c | |
parent | 0f8468c8bef3d04637c924e7bef20ca53018b319 (diff) |
[GFS2] mark struct *_operations const
these struct *_operations are all method tables, thus should be const.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index e4bc8ae561aa..0054b7df714a 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -2103,7 +2103,7 @@ static int gfs2_glock_seq_show(struct seq_file *file, void *iter_ptr) | |||
2103 | return 0; | 2103 | return 0; |
2104 | } | 2104 | } |
2105 | 2105 | ||
2106 | static struct seq_operations gfs2_glock_seq_ops = { | 2106 | static const struct seq_operations gfs2_glock_seq_ops = { |
2107 | .start = gfs2_glock_seq_start, | 2107 | .start = gfs2_glock_seq_start, |
2108 | .next = gfs2_glock_seq_next, | 2108 | .next = gfs2_glock_seq_next, |
2109 | .stop = gfs2_glock_seq_stop, | 2109 | .stop = gfs2_glock_seq_stop, |