[PATCH] mark struct file_operations const 6
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / nfs / client.c
index 23ab145daa2d2289cd6721457b3f555a9d16cbaf..ae9f36e393cf0a857064bdff9809d13226eb4905 100644 (file)
@@ -1173,7 +1173,7 @@ static struct seq_operations nfs_server_list_ops = {
        .show   = nfs_server_list_show,
 };
 
-static struct file_operations nfs_server_list_fops = {
+static const struct file_operations nfs_server_list_fops = {
        .open           = nfs_server_list_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
@@ -1193,7 +1193,7 @@ static struct seq_operations nfs_volume_list_ops = {
        .show   = nfs_volume_list_show,
 };
 
-static struct file_operations nfs_volume_list_fops = {
+static const struct file_operations nfs_volume_list_fops = {
        .open           = nfs_volume_list_open,
        .read           = seq_read,
        .llseek         = seq_lseek,