Skip to content

Commit

Permalink
fs/hugetlbfs/inode.c: use static const for dentry_operations
Browse files Browse the repository at this point in the history
...like other filesystems.

Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Fabian Frederick authored and torvalds committed Jun 4, 2014
1 parent 422b244 commit be1d2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/hugetlbfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ static int get_hstate_idx(int page_size_log)
return h - hstates;
}

static struct dentry_operations anon_ops = {
static const struct dentry_operations anon_ops = {
.d_dname = simple_dname
};

Expand Down

0 comments on commit be1d2cf

Please sign in to comment.