diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-30 09:30:00 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-30 09:30:00 -0400 |
commit | 8fb4b536e7b9dbaf7a6b8204e887b92a14e4352c (patch) | |
tree | f74f905188ca9df0fc6f5fda3c6ee25ede02ee2f /fs/gfs2/glops.h | |
parent | 83b7a664a0c7c39ccfa4c72535dc1c001d4e7a18 (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.h | 18 |
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 | ||
13 | extern struct gfs2_glock_operations gfs2_meta_glops; | 13 | extern const struct gfs2_glock_operations gfs2_meta_glops; |
14 | extern struct gfs2_glock_operations gfs2_inode_glops; | 14 | extern const struct gfs2_glock_operations gfs2_inode_glops; |
15 | extern struct gfs2_glock_operations gfs2_rgrp_glops; | 15 | extern const struct gfs2_glock_operations gfs2_rgrp_glops; |
16 | extern struct gfs2_glock_operations gfs2_trans_glops; | 16 | extern const struct gfs2_glock_operations gfs2_trans_glops; |
17 | extern struct gfs2_glock_operations gfs2_iopen_glops; | 17 | extern const struct gfs2_glock_operations gfs2_iopen_glops; |
18 | extern struct gfs2_glock_operations gfs2_flock_glops; | 18 | extern const struct gfs2_glock_operations gfs2_flock_glops; |
19 | extern struct gfs2_glock_operations gfs2_nondisk_glops; | 19 | extern const struct gfs2_glock_operations gfs2_nondisk_glops; |
20 | extern struct gfs2_glock_operations gfs2_quota_glops; | 20 | extern const struct gfs2_glock_operations gfs2_quota_glops; |
21 | extern struct gfs2_glock_operations gfs2_journal_glops; | 21 | extern const struct gfs2_glock_operations gfs2_journal_glops; |
22 | 22 | ||
23 | #endif /* __GLOPS_DOT_H__ */ | 23 | #endif /* __GLOPS_DOT_H__ */ |