projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422b244
)
fs/hugetlbfs/inode.c: use static const for dentry_operations
author
Fabian Frederick
<fabf@skynet.be>
Wed, 4 Jun 2014 23:10:39 +0000
(16:10 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:11 +0000
(16:54 -0700)
...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>
fs/hugetlbfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/hugetlbfs/inode.c
b/fs/hugetlbfs/inode.c
index
b242759
..
cc81d25
100644
(file)
--- 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
};