aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/eaops.h
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-07-31 18:31:11 +0800
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 08:55:03 +0100
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 508b4f7a244..da2f7fbbb40 100644
--- a/fs/gfs2/eaops.h
+++ b/fs/gfs2/eaops.h
@@ -22,9 +22,9 @@ struct gfs2_eattr_operations {
unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name);
-extern struct gfs2_eattr_operations gfs2_system_eaops;
+extern const struct gfs2_eattr_operations gfs2_system_eaops;
-extern struct gfs2_eattr_operations *gfs2_ea_ops[];
+extern const struct gfs2_eattr_operations *gfs2_ea_ops[];
#endif /* __EAOPS_DOT_H__ */