]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/cramfs/inode.c
[PATCH] mark address_space_operations const
[mirror_ubuntu-zesty-kernel.git] / fs / cramfs / inode.c
index c45d738608039c5a20a4b2055bc3dd8e4c40cfcf..223c0431042deaa8fb77aa99626100338e546f4e 100644 (file)
@@ -30,7 +30,7 @@
 static struct super_operations cramfs_ops;
 static struct inode_operations cramfs_dir_inode_operations;
 static const struct file_operations cramfs_directory_operations;
-static struct address_space_operations cramfs_aops;
+static const struct address_space_operations cramfs_aops;
 
 static DEFINE_MUTEX(read_mutex);
 
@@ -501,7 +501,7 @@ static int cramfs_readpage(struct file *file, struct page * page)
        return 0;
 }
 
-static struct address_space_operations cramfs_aops = {
+static const struct address_space_operations cramfs_aops = {
        .readpage = cramfs_readpage
 };