Skip to content

Commit

Permalink
constify dentry_operations: JFS
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Mar 27, 2009
1 parent d8fba0f commit ad28b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fs/jfs/jfs_inode.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ extern const struct file_operations jfs_dir_operations;
extern const struct inode_operations jfs_file_inode_operations;
extern const struct file_operations jfs_file_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 */
4 changes: 2 additions & 2 deletions fs/jfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/*
* forward references
*/
struct dentry_operations jfs_ci_dentry_operations;
const struct dentry_operations jfs_ci_dentry_operations;

static s64 commitZeroLink(tid_t, struct inode *);

Expand Down Expand Up @@ -1595,7 +1595,7 @@ static int jfs_ci_compare(struct dentry *dir, struct qstr *a, struct qstr *b)
return result;
}

struct dentry_operations jfs_ci_dentry_operations =
const struct dentry_operations jfs_ci_dentry_operations =
{
.d_hash = jfs_ci_hash,
.d_compare = jfs_ci_compare,
Expand Down

0 comments on commit ad28b4e

Please sign in to comment.