aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 76b980097621..baa28860ad27 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -82,7 +82,7 @@ struct file_system_type nfs_xdev_fs_type = {
82 .fs_flags = FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA, 82 .fs_flags = FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA,
83}; 83};
84 84
85static struct super_operations nfs_sops = { 85static const struct super_operations nfs_sops = {
86 .alloc_inode = nfs_alloc_inode, 86 .alloc_inode = nfs_alloc_inode,
87 .destroy_inode = nfs_destroy_inode, 87 .destroy_inode = nfs_destroy_inode,
88 .write_inode = nfs_write_inode, 88 .write_inode = nfs_write_inode,
@@ -126,7 +126,7 @@ struct file_system_type nfs4_referral_fs_type = {
126 .fs_flags = FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA, 126 .fs_flags = FS_RENAME_DOES_D_MOVE|FS_REVAL_DOT|FS_BINARY_MOUNTDATA,
127}; 127};
128 128
129static struct super_operations nfs4_sops = { 129static const struct super_operations nfs4_sops = {
130 .alloc_inode = nfs_alloc_inode, 130 .alloc_inode = nfs_alloc_inode,
131 .destroy_inode = nfs_destroy_inode, 131 .destroy_inode = nfs_destroy_inode,
132 .write_inode = nfs_write_inode, 132 .write_inode = nfs_write_inode,