nfs-utils/nfs-utils-1.0.7-bind-syntax.patch

16 lines
590 B
Diff

support/export/export.c | 2
support/include/misc.h | 3
support/include/nfslib.h | 1
================================================================================
--- nfs-utils-1.0.12/support/nfs/exports.c
+++ nfs-utils-1.0.12/support/nfs/exports.c
@@ -522,6 +522,8 @@
} else if (strncmp(opt, "replicas=", 9) == 0) {
ep->e_fslocmethod = FSLOC_REPLICA;
ep->e_fslocdata = strdup(opt+9);
+ } else if (strncmp(opt, "bind=/", 6) == 0) {
+ /* ignore this for now */
} else {
xlog(L_ERROR, "%s:%d: unknown keyword \"%s\"\n",
flname, flline, opt);