summaryrefslogtreecommitdiffstats
path: root/utils/mount/mount.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-16 17:13:52 +1100
committerNeil Brown <neilb@suse.de>2007-03-16 17:13:52 +1100
commit3eb4c9aaa218f2af4bbea2073f02e419c50d3d3d (patch)
treea40feaa6c310a312227d86490252a3103ee288ea /utils/mount/mount.c
parent4af6588d57ab60454500b6789c87586bf0f69fe3 (diff)
downloadnfs-utils-3eb4c9aaa218f2af4bbea2073f02e419c50d3d3d.tar.gz
nfs-utils-3eb4c9aaa218f2af4bbea2073f02e419c50d3d3d.tar.xz
nfs-utils-3eb4c9aaa218f2af4bbea2073f02e419c50d3d3d.zip
Remove some incorrect version matching code.
The version of the interface to the kernel for requesting a mount it entirely different to the version of NFS that is being mounted.
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r--utils/mount/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index 72cb89d..0edcc1a 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -386,7 +386,7 @@ int main(int argc, char *argv[])
else if (!strcmp(progname, "mount.nfs")) {
int need_statd = 0;
mnt_err = nfsmount(spec, mount_point, &flags,
- &extra_opts, &mount_opts, &nfs_mount_vers,
+ &extra_opts, &mount_opts,
0, &need_statd);
if (!mnt_err && !fake && need_statd)
start_statd();