forked from luck/tmp_suning_uos_patched
fs/hugetlbfs/inode.c: use static const for dentry_operations
...like other filesystems. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
422b2448fc
commit
be1d2cf5e3
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user