aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/eaops.h
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-07-31 06:31:11 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 03:55:03 -0400
commit4ef290025ccde7c52ba219cf733a4295acd5401f (patch)
tree9879ae00580d4869bfa0a443f00b3713c34f4bda /fs/gfs2/eaops.h
parent0f8468c8bef3d04637c924e7bef20ca53018b319 (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/eaops.h')
-rw-r--r--fs/gfs2/eaops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/eaops.h b/fs/gfs2/eaops.h
index 508b4f7a2449..da2f7fbbb40d 100644
--- a/fs/gfs2/eaops.h
+++ b/fs/gfs2/eaops.h
@@ -22,9 +22,9 @@ struct gfs2_eattr_operations {
22 22
23unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name); 23unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name);
24 24
25extern struct gfs2_eattr_operations gfs2_system_eaops; 25extern const struct gfs2_eattr_operations gfs2_system_eaops;
26 26
27extern struct gfs2_eattr_operations *gfs2_ea_ops[]; 27extern const struct gfs2_eattr_operations *gfs2_ea_ops[];
28 28
29#endif /* __EAOPS_DOT_H__ */ 29#endif /* __EAOPS_DOT_H__ */
30 30