]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/stropts.c
The kernel doesn't support the underlying parts needed for changing the
[nfs-utils.git] / utils / mount / stropts.c
index cf403133296bd034497f795471f55c7932c256b8..0c8d3e1baf83779b9447893d3d796bf3b7bfd0f2 100644 (file)
@@ -304,9 +304,6 @@ static struct mount_options *rewrite_mount_options(char *str)
        if (option)
                mnt_server.pmap.pm_port = atoi(option);
        mnt_server.pmap.pm_prog = MOUNTPROG;
-       option = po_get(options, "mountprog");
-       if (option)
-               mnt_server.pmap.pm_prog = atoi(option);
        option = po_get(options, "mountvers");
        if (option)
                mnt_server.pmap.pm_vers = atoi(option);
@@ -317,9 +314,6 @@ static struct mount_options *rewrite_mount_options(char *str)
                po_remove_all(options, "port");
        }
        nfs_server.pmap.pm_prog = NFS_PROGRAM;
-       option = po_get(options, "nfsprog");
-       if (option)
-               nfs_server.pmap.pm_prog = atoi(option);
 
        option = po_get(options, "nfsvers");
        if (option) {