]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
The kernel doesn't support the underlying parts needed for changing the
authorSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 17:01:13 +0000 (12:01 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 17:01:13 +0000 (12:01 -0500)
MNT program number.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c

index 31df51b958b8d08be9b28b1428759d1cd1b53b71..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;
        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);
        option = po_get(options, "mountvers");
        if (option)
                mnt_server.pmap.pm_vers = atoi(option);