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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index a41d516ed595..c97f30967955 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -329,10 +329,10 @@ static const char *nfs_pseudoflavour_to_name(rpc_authflavor_t flavour)
329 */ 329 */
330static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, int showdefaults) 330static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, int showdefaults)
331{ 331{
332 static struct proc_nfs_info { 332 static const struct proc_nfs_info {
333 int flag; 333 int flag;
334 char *str; 334 const char *str;
335 char *nostr; 335 const char *nostr;
336 } nfs_info[] = { 336 } nfs_info[] = {
337 { NFS_MOUNT_SOFT, ",soft", ",hard" }, 337 { NFS_MOUNT_SOFT, ",soft", ",hard" },
338 { NFS_MOUNT_INTR, ",intr", "" }, 338 { NFS_MOUNT_INTR, ",intr", "" },
@@ -342,9 +342,9 @@ static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss,
342 { NFS_MOUNT_NOACL, ",noacl", "" }, 342 { NFS_MOUNT_NOACL, ",noacl", "" },
343 { 0, NULL, NULL } 343 { 0, NULL, NULL }
344 }; 344 };
345 struct proc_nfs_info *nfs_infop; 345 const struct proc_nfs_info *nfs_infop;
346 char buf[12]; 346 char buf[12];
347 char *proto; 347 const char *proto;
348 348
349 seq_printf(m, ",vers=%d", nfss->rpc_ops->version); 349 seq_printf(m, ",vers=%d", nfss->rpc_ops->version);
350 seq_printf(m, ",rsize=%d", nfss->rsize); 350 seq_printf(m, ",rsize=%d", nfss->rsize);