Commit be1d2cf5 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/hugetlbfs/inode.c: use static const for dentry_operations

...like other filesystems.
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 422b2448
...@@ -938,7 +938,7 @@ static int get_hstate_idx(int page_size_log) ...@@ -938,7 +938,7 @@ static int get_hstate_idx(int page_size_log)
return h - hstates; return h - hstates;
} }
static struct dentry_operations anon_ops = { static const struct dentry_operations anon_ops = {
.d_dname = simple_dname .d_dname = simple_dname
}; };
......
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