From 5fe51292e188a4a78dea81c2c13f2dbe614a2536 Mon Sep 17 00:00:00 2001 From: Fred Isaman Date: Tue, 27 Feb 2007 15:31:04 +1100 Subject: Extend the exportfs/mountd interface to pass fslocations info into the kernel Fix up a few issues with the fsloc code. Signed-off-by: Fred Isaman Signed-off-by: Kevin Coffman Signed-off-by: Neil Brown --- utils/exportfs/exportfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/exportfs/exportfs.c') diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index 40a6b56..22e13a3 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -427,9 +427,11 @@ dump(int verbose) case FSLOC_REPLICA: c = dumpopt(c, "replicas=%s", ep->e_fslocdata); break; +#ifdef DEBUG case FSLOC_STUB: c = dumpopt(c, "fsloc=stub"); break; +#endif } printf("%c\n", (c != '(')? ')' : ' '); } -- cgit