mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mm/shmem.c: constify anon_ops
Every other dentry_operations instance is const, and this one might as well be. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
2d75807383
commit
19938e350a
1 changed files with 1 additions and 1 deletions
|
|
@ -4078,7 +4078,7 @@ EXPORT_SYMBOL_GPL(shmem_truncate_range);
|
|||
|
||||
/* common code */
|
||||
|
||||
static struct dentry_operations anon_ops = {
|
||||
static const struct dentry_operations anon_ops = {
|
||||
.d_dname = simple_dname
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue