aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-08-30 09:30:00 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-30 09:30:00 -0400
commit8fb4b536e7b9dbaf7a6b8204e887b92a14e4352c (patch)
treef74f905188ca9df0fc6f5fda3c6ee25ede02ee2f /fs/gfs2/glops.h
parent83b7a664a0c7c39ccfa4c72535dc1c001d4e7a18 (diff)
[GFS2] Make glock operations const
For all the usual reasons of enforcing correctness and potentially reducing code size, this patch makes the glock operations const. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.h')
-rw-r--r--fs/gfs2/glops.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/gfs2/glops.h b/fs/gfs2/glops.h
index 5c1e9491024f..9409f0a7b47f 100644
--- a/fs/gfs2/glops.h
+++ b/fs/gfs2/glops.h
@@ -10,14 +10,14 @@
10#ifndef __GLOPS_DOT_H__ 10#ifndef __GLOPS_DOT_H__
11#define __GLOPS_DOT_H__ 11#define __GLOPS_DOT_H__
12 12
13extern struct gfs2_glock_operations gfs2_meta_glops; 13extern const struct gfs2_glock_operations gfs2_meta_glops;
14extern struct gfs2_glock_operations gfs2_inode_glops; 14extern const struct gfs2_glock_operations gfs2_inode_glops;
15extern struct gfs2_glock_operations gfs2_rgrp_glops; 15extern const struct gfs2_glock_operations gfs2_rgrp_glops;
16extern struct gfs2_glock_operations gfs2_trans_glops; 16extern const struct gfs2_glock_operations gfs2_trans_glops;
17extern struct gfs2_glock_operations gfs2_iopen_glops; 17extern const struct gfs2_glock_operations gfs2_iopen_glops;
18extern struct gfs2_glock_operations gfs2_flock_glops; 18extern const struct gfs2_glock_operations gfs2_flock_glops;
19extern struct gfs2_glock_operations gfs2_nondisk_glops; 19extern const struct gfs2_glock_operations gfs2_nondisk_glops;
20extern struct gfs2_glock_operations gfs2_quota_glops; 20extern const struct gfs2_glock_operations gfs2_quota_glops;
21extern struct gfs2_glock_operations gfs2_journal_glops; 21extern const struct gfs2_glock_operations gfs2_journal_glops;
22 22
23#endif /* __GLOPS_DOT_H__ */ 23#endif /* __GLOPS_DOT_H__ */