diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 19:10:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:54:11 -0400 |
commit | be1d2cf5e36b1de3c8e17428885dcad4ca929886 (patch) | |
tree | 3291b86132fc8369232c530e44557e4a81c0ab2b /fs/hugetlbfs | |
parent | 422b2448fc86bf678f5d398389e41e0f169541d5 (diff) |
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>
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r-- | fs/hugetlbfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
938 | return h - hstates; | 938 | return h - hstates; |
939 | } | 939 | } |
940 | 940 | ||
941 | static struct dentry_operations anon_ops = { | 941 | static const struct dentry_operations anon_ops = { |
942 | .d_dname = simple_dname | 942 | .d_dname = simple_dname |
943 | }; | 943 | }; |
944 | 944 | ||