diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/ops_dentry.c | 2 | ||||
-rw-r--r-- | fs/gfs2/super.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_dentry.c b/fs/gfs2/ops_dentry.c index c2ad36330ca3..aea4d50580d7 100644 --- a/fs/gfs2/ops_dentry.c +++ b/fs/gfs2/ops_dentry.c | |||
@@ -108,7 +108,7 @@ static int gfs2_dhash(struct dentry *dentry, struct qstr *str) | |||
108 | return 0; | 108 | return 0; |
109 | } | 109 | } |
110 | 110 | ||
111 | struct dentry_operations gfs2_dops = { | 111 | const struct dentry_operations gfs2_dops = { |
112 | .d_revalidate = gfs2_drevalidate, | 112 | .d_revalidate = gfs2_drevalidate, |
113 | .d_hash = gfs2_dhash, | 113 | .d_hash = gfs2_dhash, |
114 | }; | 114 | }; |
diff --git a/fs/gfs2/super.h b/fs/gfs2/super.h index f6b8b00ad881..a931e44ab561 100644 --- a/fs/gfs2/super.h +++ b/fs/gfs2/super.h | |||
@@ -47,7 +47,7 @@ extern struct file_system_type gfs2_fs_type; | |||
47 | extern struct file_system_type gfs2meta_fs_type; | 47 | extern struct file_system_type gfs2meta_fs_type; |
48 | extern const struct export_operations gfs2_export_ops; | 48 | extern const struct export_operations gfs2_export_ops; |
49 | extern const struct super_operations gfs2_super_ops; | 49 | extern const struct super_operations gfs2_super_ops; |
50 | extern struct dentry_operations gfs2_dops; | 50 | extern const struct dentry_operations gfs2_dops; |
51 | 51 | ||
52 | #endif /* __SUPER_DOT_H__ */ | 52 | #endif /* __SUPER_DOT_H__ */ |
53 | 53 | ||