diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index fcb07882c8e0..b8c429a2d271 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -175,7 +175,7 @@ static inline void shmem_unacct_blocks(unsigned long flags, long pages) | |||
175 | vm_unacct_memory(pages * VM_ACCT(PAGE_CACHE_SIZE)); | 175 | vm_unacct_memory(pages * VM_ACCT(PAGE_CACHE_SIZE)); |
176 | } | 176 | } |
177 | 177 | ||
178 | static struct super_operations shmem_ops; | 178 | static const struct super_operations shmem_ops; |
179 | static const struct address_space_operations shmem_aops; | 179 | static const struct address_space_operations shmem_aops; |
180 | static const struct file_operations shmem_file_operations; | 180 | static const struct file_operations shmem_file_operations; |
181 | static const struct inode_operations shmem_inode_operations; | 181 | static const struct inode_operations shmem_inode_operations; |
@@ -2383,7 +2383,7 @@ static const struct inode_operations shmem_special_inode_operations = { | |||
2383 | #endif | 2383 | #endif |
2384 | }; | 2384 | }; |
2385 | 2385 | ||
2386 | static struct super_operations shmem_ops = { | 2386 | static const struct super_operations shmem_ops = { |
2387 | .alloc_inode = shmem_alloc_inode, | 2387 | .alloc_inode = shmem_alloc_inode, |
2388 | .destroy_inode = shmem_destroy_inode, | 2388 | .destroy_inode = shmem_destroy_inode, |
2389 | #ifdef CONFIG_TMPFS | 2389 | #ifdef CONFIG_TMPFS |