提交 be1d2cf5 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

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

...like other filesystems.
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 422b2448
......@@ -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
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册