diff options
Diffstat (limited to 'mm/shmem.c')
-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 007653680a75..c820b4f77b8d 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -177,7 +177,7 @@ static inline void shmem_unacct_blocks(unsigned long flags, long pages) | |||
177 | 177 | ||
178 | static struct super_operations shmem_ops; | 178 | static 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 struct file_operations shmem_file_operations; | 180 | static const struct file_operations shmem_file_operations; |
181 | static struct inode_operations shmem_inode_operations; | 181 | static struct inode_operations shmem_inode_operations; |
182 | static struct inode_operations shmem_dir_inode_operations; | 182 | static struct inode_operations shmem_dir_inode_operations; |
183 | static struct inode_operations shmem_special_inode_operations; | 183 | static struct inode_operations shmem_special_inode_operations; |
@@ -2319,7 +2319,7 @@ static const struct address_space_operations shmem_aops = { | |||
2319 | .migratepage = migrate_page, | 2319 | .migratepage = migrate_page, |
2320 | }; | 2320 | }; |
2321 | 2321 | ||
2322 | static struct file_operations shmem_file_operations = { | 2322 | static const struct file_operations shmem_file_operations = { |
2323 | .mmap = shmem_mmap, | 2323 | .mmap = shmem_mmap, |
2324 | #ifdef CONFIG_TMPFS | 2324 | #ifdef CONFIG_TMPFS |
2325 | .llseek = generic_file_llseek, | 2325 | .llseek = generic_file_llseek, |