nfs-utils/nfs-utils-1.1.1-mount-rm-mountprog.patch
Steve Dickson 51df58e4d7 - Added -S/--since to the nfsstat(1) manpage
- The wording in the exportfs man page can be a bit confusing, implying
    that "exportfs -u :/foo" will unexport /foo from all hosts, which it
    won't
- Removed nfsprog option since the kernel no longer supports it.
- Removed mountprog option since the kernel no longer supports it.
- Stop segfaults on amd64 during warnings messages.
- Fix bug when both crossmnt and fsid are set.
2008-01-22 19:36:09 +00:00

24 lines
949 B
Diff

commit 72ada109b86622db8009e774ebc96a7a92094e8a
Author: Steve Dickson <steved@redhat.com>
Date: Wed Jan 16 12:01:13 2008 -0500
The kernel doesn't support the underlying parts needed for changing the
MNT program number.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
diff -up nfs-utils-1.1.1/utils/mount/stropts.c.orig nfs-utils-1.1.1/utils/mount/stropts.c
--- nfs-utils-1.1.1/utils/mount/stropts.c.orig 2008-01-22 14:04:16.000000000 -0500
+++ nfs-utils-1.1.1/utils/mount/stropts.c 2008-01-22 14:09:54.000000000 -0500
@@ -304,9 +304,6 @@ static struct mount_options *rewrite_mou
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);