From 194e4216c8e30612f96f8f3712fdb3f1c96b3a08 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Tue, 3 Dec 2019 12:57:13 +0200 Subject: [RFC]#ifdef gNFS related code if we are not compiling gNFS If we are not compiling gNFS (--enable-gnfs is not given in the ./configure script params), there is little point in compiling code that is related to it. This patch tries to eliminate it. My hope (and it's not clear from the code ) is that I did not break the NFS Ganesha support as well. Other than that, tried to compile with and without anad it looks sane. Change-Id: I8d6c98066b9fceab4ec10fc6f5e81ab069e853bd updates: bz#1193929 Signed-off-by: Yaniv Kaul --- xlators/mgmt/glusterd/src/glusterd-statedump.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-statedump.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-statedump.c b/xlators/mgmt/glusterd/src/glusterd-statedump.c index 69d4cf4aacb..735b5d47335 100644 --- a/xlators/mgmt/glusterd/src/glusterd-statedump.c +++ b/xlators/mgmt/glusterd/src/glusterd-statedump.c @@ -12,7 +12,6 @@ #include "glusterd.h" #include "glusterd-shd-svc.h" #include "glusterd-quotad-svc.h" -#include "glusterd-nfs-svc.h" #include "glusterd-locks.h" #include "glusterd-messages.h" -- cgit