Commit ad28b4ef authored by Al Viro's avatar Al Viro

constify dentry_operations: JFS

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent d8fba0ff
...@@ -47,5 +47,5 @@ extern const struct file_operations jfs_dir_operations; ...@@ -47,5 +47,5 @@ extern const struct file_operations jfs_dir_operations;
extern const struct inode_operations jfs_file_inode_operations; extern const struct inode_operations jfs_file_inode_operations;
extern const struct file_operations jfs_file_operations; extern const struct file_operations jfs_file_operations;
extern const struct inode_operations jfs_symlink_inode_operations; extern const struct inode_operations jfs_symlink_inode_operations;
extern struct dentry_operations jfs_ci_dentry_operations; extern const struct dentry_operations jfs_ci_dentry_operations;
#endif /* _H_JFS_INODE */ #endif /* _H_JFS_INODE */
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
/* /*
* forward references * forward references
*/ */
struct dentry_operations jfs_ci_dentry_operations; const struct dentry_operations jfs_ci_dentry_operations;
static s64 commitZeroLink(tid_t, struct inode *); static s64 commitZeroLink(tid_t, struct inode *);
...@@ -1595,7 +1595,7 @@ out: ...@@ -1595,7 +1595,7 @@ out:
return result; return result;
} }
struct dentry_operations jfs_ci_dentry_operations = const struct dentry_operations jfs_ci_dentry_operations =
{ {
.d_hash = jfs_ci_hash, .d_hash = jfs_ci_hash,
.d_compare = jfs_ci_compare, .d_compare = jfs_ci_compare,
......
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