From: Fabian Frederick Date: Wed, 4 Jun 2014 23:10:39 +0000 (-0700) Subject: fs/hugetlbfs/inode.c: use static const for dentry_operations X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=be1d2cf5e36b1de3c8e17428885dcad4ca929886;p=openwrt%2Fstaging%2Fblogic.git fs/hugetlbfs/inode.c: use static const for dentry_operations ...like other filesystems. Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index b24275914bda..cc81d25b2812 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -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 };