diff options
author | Chuck Lever <cel@netapp.com> | 2006-03-20 13:44:13 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:13 -0500 |
commit | c8bded96aa8735823e53c95a26177987ebb19a90 (patch) | |
tree | 95c6c3f5ab5c331d12f986323175615862aff8cb /fs/nfs | |
parent | 7a480e250c7ca9187275d8574ae9e48a6b602cb9 (diff) |
NFS: clean up some mount options
Get rid of "lock" and "posix", and spell out "vers=".
Test plan:
None.
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 48683d4bf0f6..827d69255b1b 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -591,10 +591,9 @@ static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) | |||
591 | } nfs_info[] = { | 591 | } nfs_info[] = { |
592 | { NFS_MOUNT_SOFT, ",soft", ",hard" }, | 592 | { NFS_MOUNT_SOFT, ",soft", ",hard" }, |
593 | { NFS_MOUNT_INTR, ",intr", "" }, | 593 | { NFS_MOUNT_INTR, ",intr", "" }, |
594 | { NFS_MOUNT_POSIX, ",posix", "" }, | ||
595 | { NFS_MOUNT_NOCTO, ",nocto", "" }, | 594 | { NFS_MOUNT_NOCTO, ",nocto", "" }, |
596 | { NFS_MOUNT_NOAC, ",noac", "" }, | 595 | { NFS_MOUNT_NOAC, ",noac", "" }, |
597 | { NFS_MOUNT_NONLM, ",nolock", ",lock" }, | 596 | { NFS_MOUNT_NONLM, ",nolock", "" }, |
598 | { NFS_MOUNT_NOACL, ",noacl", "" }, | 597 | { NFS_MOUNT_NOACL, ",noacl", "" }, |
599 | { 0, NULL, NULL } | 598 | { 0, NULL, NULL } |
600 | }; | 599 | }; |
@@ -603,7 +602,7 @@ static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) | |||
603 | char buf[12]; | 602 | char buf[12]; |
604 | char *proto; | 603 | char *proto; |
605 | 604 | ||
606 | seq_printf(m, ",v%d", nfss->rpc_ops->version); | 605 | seq_printf(m, ",vers=%d", nfss->rpc_ops->version); |
607 | seq_printf(m, ",rsize=%d", nfss->rsize); | 606 | seq_printf(m, ",rsize=%d", nfss->rsize); |
608 | seq_printf(m, ",wsize=%d", nfss->wsize); | 607 | seq_printf(m, ",wsize=%d", nfss->wsize); |
609 | if (nfss->acregmin != 3*HZ) | 608 | if (nfss->acregmin != 3*HZ) |