nfs-utils: fix build
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
diff -up nfs-utils-1.2.1/support/nfs/exports.c.orig nfs-utils-1.2.1/support/nfs/exports.c
|
||||
--- nfs-utils-1.2.1/support/nfs/exports.c.orig 2010-01-15 10:48:49.631894982 -0500
|
||||
+++ nfs-utils-1.2.1/support/nfs/exports.c 2010-01-15 11:05:02.009874055 -0500
|
||||
@@ -483,7 +483,7 @@ static void fix_pseudoflavor_flags(struc
|
||||
static int
|
||||
parseopts(char *cp, struct exportent *ep, int warn, int *had_subtree_opt_ptr)
|
||||
{
|
||||
- int had_subtree_opt = 0;
|
||||
+ int had_subtree_opt = 1;
|
||||
char *flname = efname?efname:"command line";
|
||||
int flline = efp?efp->x_line:0;
|
||||
unsigned int active = 0;
|
||||
@@ -1,58 +0,0 @@
|
||||
diff -up nfs-utils-1.2.1/utils/statd/sm-notify.man.save nfs-utils-1.2.1/utils/statd/sm-notify.man
|
||||
--- nfs-utils-1.2.1/utils/statd/sm-notify.man.save 2010-01-15 11:10:25.096874609 -0500
|
||||
+++ nfs-utils-1.2.1/utils/statd/sm-notify.man 2010-01-15 11:14:12.636873981 -0500
|
||||
@@ -186,7 +186,7 @@ where NSM state information resides.
|
||||
If this option is not specified,
|
||||
.B sm-notify
|
||||
uses
|
||||
-.I /var/lib/nfs
|
||||
+.I /var/lib/nfs/statd
|
||||
by default.
|
||||
.IP
|
||||
After starting,
|
||||
@@ -287,13 +287,13 @@ Currently, the
|
||||
command supports sending notification only via datagram transport protocols.
|
||||
.SH FILES
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm
|
||||
+.I /var/lib/nfs/statd/sm
|
||||
directory containing monitor list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm.bak
|
||||
+.I /var/lib/nfs/statd/sm.bak
|
||||
directory containing notify list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/state
|
||||
+.I /var/lib/nfs/statd/state
|
||||
NSM state number for this host
|
||||
.TP 2.5i
|
||||
.I /proc/sys/fs/nfs/nsm_local_state
|
||||
diff -up nfs-utils-1.2.1/utils/statd/statd.man.save nfs-utils-1.2.1/utils/statd/statd.man
|
||||
--- nfs-utils-1.2.1/utils/statd/statd.man.save 2010-01-15 11:10:25.098906325 -0500
|
||||
+++ nfs-utils-1.2.1/utils/statd/statd.man 2010-01-15 11:11:03.874769717 -0500
|
||||
@@ -232,7 +232,7 @@ where NSM state information resides.
|
||||
If this option is not specified,
|
||||
.B rpc.statd
|
||||
uses
|
||||
-.I /var/lib/nfs
|
||||
+.I /var/lib/nfs/statd
|
||||
by default.
|
||||
.IP
|
||||
After starting,
|
||||
@@ -368,13 +368,13 @@ As long as at least one network transpor
|
||||
will operate.
|
||||
.SH FILES
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm
|
||||
+.I /var/lib/nfs/statd/sm
|
||||
directory containing monitor list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm.bak
|
||||
+.I /var/lib/nfs/statd/sm.bak
|
||||
directory containing notify list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/state
|
||||
+.I /var/lib/nfs/statd/state
|
||||
NSM state number for this host
|
||||
.TP 2.5i
|
||||
.I /run/run.statd.pid
|
||||
Reference in New Issue
Block a user