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 cf40313..31df51b 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) {