diff options
Diffstat (limited to 'fs/hugetlbfs/inode.c')
-rw-r--r-- | fs/hugetlbfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index e6410d8edd0e..6449cb697967 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #define HUGETLBFS_MAGIC 0x958458f6 | 34 | #define HUGETLBFS_MAGIC 0x958458f6 |
35 | 35 | ||
36 | static struct super_operations hugetlbfs_ops; | 36 | static struct super_operations hugetlbfs_ops; |
37 | static struct address_space_operations hugetlbfs_aops; | 37 | static const struct address_space_operations hugetlbfs_aops; |
38 | const struct file_operations hugetlbfs_file_operations; | 38 | const struct file_operations hugetlbfs_file_operations; |
39 | static struct inode_operations hugetlbfs_dir_inode_operations; | 39 | static struct inode_operations hugetlbfs_dir_inode_operations; |
40 | static struct inode_operations hugetlbfs_inode_operations; | 40 | static struct inode_operations hugetlbfs_inode_operations; |
@@ -547,7 +547,7 @@ static void hugetlbfs_destroy_inode(struct inode *inode) | |||
547 | kmem_cache_free(hugetlbfs_inode_cachep, HUGETLBFS_I(inode)); | 547 | kmem_cache_free(hugetlbfs_inode_cachep, HUGETLBFS_I(inode)); |
548 | } | 548 | } |
549 | 549 | ||
550 | static struct address_space_operations hugetlbfs_aops = { | 550 | static const struct address_space_operations hugetlbfs_aops = { |
551 | .readpage = hugetlbfs_readpage, | 551 | .readpage = hugetlbfs_readpage, |
552 | .prepare_write = hugetlbfs_prepare_write, | 552 | .prepare_write = hugetlbfs_prepare_write, |
553 | .commit_write = hugetlbfs_commit_write, | 553 | .commit_write = hugetlbfs_commit_write, |