Commit 92cecbbf authored by Al Viro's avatar Al Viro

constify dentry_operations: GFS2

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ce6cdc47
...@@ -108,7 +108,7 @@ static int gfs2_dhash(struct dentry *dentry, struct qstr *str) ...@@ -108,7 +108,7 @@ static int gfs2_dhash(struct dentry *dentry, struct qstr *str)
return 0; return 0;
} }
struct dentry_operations gfs2_dops = { const struct dentry_operations gfs2_dops = {
.d_revalidate = gfs2_drevalidate, .d_revalidate = gfs2_drevalidate,
.d_hash = gfs2_dhash, .d_hash = gfs2_dhash,
}; };
......
...@@ -47,7 +47,7 @@ extern struct file_system_type gfs2_fs_type; ...@@ -47,7 +47,7 @@ extern struct file_system_type gfs2_fs_type;
extern struct file_system_type gfs2meta_fs_type; extern struct file_system_type gfs2meta_fs_type;
extern const struct export_operations gfs2_export_ops; extern const struct export_operations gfs2_export_ops;
extern const struct super_operations gfs2_super_ops; extern const struct super_operations gfs2_super_ops;
extern struct dentry_operations gfs2_dops; extern const struct dentry_operations gfs2_dops;
#endif /* __SUPER_DOT_H__ */ #endif /* __SUPER_DOT_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment