]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
The kernel hasn't supported the underlying parts needed for changing the
authorSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 17:00:32 +0000 (12:00 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 17:00:32 +0000 (12:00 -0500)
NFS program number for a very long time.

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

index cf403133296bd034497f795471f55c7932c256b8..31df51b958b8d08be9b28b1428759d1cd1b53b71 100644 (file)
@@ -317,9 +317,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) {