integ/filesystem/nfs-utils/centos/patches/nfs-utils-support-mountprog-and-nfsprog-options.patch
Scott Little bab9bb6b69 Internal restructuring of stx-integ
Create new directories:
   ceph
   config
   config-files
   filesystem
   kernel
   kernel/kernel-modules
   ldap
   logging
   strorage-drivers
   tools
   utilities
   virt

Retire directories:
   connectivity
   core
   devtools
   support
   extended

Delete two packages:
   tgt
   irqbalance

Relocated packages:
   base/
      dhcp
      initscripts
      libevent
      lighttpd
      linuxptp
      memcached
      net-snmp
      novnc
      ntp
      openssh
      pam
      procps
      sanlock
      shadow
      sudo
      systemd
      util-linux
      vim
      watchdog

   ceph/
      python-cephclient

   config/
      facter
      puppet-4.8.2
      puppet-modules

   filesystem/
      e2fsprogs
      nfs-utils
      nfscheck

   kernel/
      kernel-std
      kernel-rt

   kernel/kernel-modules/
      mlnx-ofa_kernel

   ldap/
      nss-pam-ldapd
      openldap

   logging/
      syslog-ng
      logrotate

   networking/
      lldpd
      iproute
      mellanox
      python-ryu
      mlx4-config

   python/
      python-2.7.5
      python-django
      python-gunicorn
      python-setuptools
      python-smartpm
      python-voluptuous

   security/
      shim-signed
      shim-unsigned
      tboot

   strorage-drivers/
      python-3parclient
      python-lefthandclient

   virt/
      cloud-init
      libvirt
      libvirt-python
      qemu

   tools/
      storage-topology
      vm-topology

   utilities/
      tis-extensions
      namespace-utils
      nova-utils
      update-motd

Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 10:06:31 -04:00

47 lines
1.4 KiB
Diff

From 10ecc386dc9e8aec697f782473b71fd6702e849c Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Mon, 15 Apr 2013 17:12:26 +0800
Subject: [PATCH] nfs-utils: support mountprog and nfsprog options
Add back the support for mountprog and nfsprog options since they
are supported by our kernel NFS client.
Upstream-status: Inappropriate
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
utils/mount/stropts.c | 10 -
1 file changed, 10 deletions(-)
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c
index 44a941f..e686577 100644
--- a/utils/mount/stropts.c
+++ b/utils/mount/stropts.c
@@ -451,9 +451,6 @@ static int nfs_construct_new_options(struct mount_options *options,
char new_option[64];
char *netid;
- po_remove_all(options, "nfsprog");
- po_remove_all(options, "mountprog");
-
po_remove_all(options, "v2");
po_remove_all(options, "v3");
po_remove_all(options, "vers");
@@ -563,13 +560,6 @@ nfs_rewrite_pmap_mount_options(struct mount_options *options, int checkv4)
return 0;
}
- /*
- * The kernel NFS client doesn't support changing the RPC
- * program number for these services, so force the value of
- * these fields before probing the server's ports.
- */
- nfs_pmap.pm_prog = NFS_PROGRAM;
- mnt_pmap.pm_prog = MOUNTPROG;
/*
* If the server's rpcbind service isn't available, we can't
--
1.9.1