nfs-utils/nfs-utils-1.0.7-bind-syntax.patch
OBS User autobuild 300a0cb74b Accepting request 24436 from Base:System
Copy from Base:System/nfs-utils based on submit request 24436 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=51
2009-11-16 13:24:40 +00:00

20 lines
685 B
Diff

support/export/export.c | 2
support/include/misc.h | 3
support/include/nfslib.h | 1
================================================================================
---
support/nfs/exports.c | 2 ++
1 file changed, 2 insertions(+)
--- nfs-utils-1.2.1.orig/support/nfs/exports.c
+++ nfs-utils-1.2.1/support/nfs/exports.c
@@ -621,6 +621,8 @@ bad_option:
} 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 if (strncmp(opt, "sec=", 4) == 0) {
active = parse_flavors(opt+4, ep);
if (!active)