a3470f
From 7dd54e4e500a41105f375b2aa3620fcd619d5148 Mon Sep 17 00:00:00 2001
a3470f
From: Jiffin Tony Thottan <jthottan@redhat.com>
a3470f
Date: Mon, 13 Nov 2017 18:43:00 +0530
a3470f
Subject: [PATCH 47/74] Revert "glusterd: skip nfs svc reconfigure if nfs
a3470f
 xlator is not installed"
a3470f
a3470f
This reverts commit 316e3300cfaa646b7fa45fcc7f57b81c7bb15a0e.
a3470f
---
a3470f
 xlators/mgmt/glusterd/src/glusterd-nfs-svc.c | 9 ---------
a3470f
 1 file changed, 9 deletions(-)
a3470f
a3470f
diff --git a/xlators/mgmt/glusterd/src/glusterd-nfs-svc.c b/xlators/mgmt/glusterd/src/glusterd-nfs-svc.c
a3470f
index eab9746..da34342 100644
a3470f
--- a/xlators/mgmt/glusterd/src/glusterd-nfs-svc.c
a3470f
+++ b/xlators/mgmt/glusterd/src/glusterd-nfs-svc.c
a3470f
@@ -154,15 +154,6 @@ glusterd_nfssvc_reconfigure ()
a3470f
         priv = this->private;
a3470f
         GF_VALIDATE_OR_GOTO (this->name, priv, out);
a3470f
 
a3470f
-       /* not an error, or a (very) soft error at best */
a3470f
-        if (sys_access (XLATORDIR "/nfs/server.so", R_OK) != 0) {
a3470f
-                gf_msg (THIS->name, GF_LOG_INFO, 0,
a3470f
-                        GD_MSG_GNFS_XLATOR_NOT_INSTALLED,
a3470f
-                        "nfs/server.so xlator is not installed");
a3470f
-                ret = 0;
a3470f
-                goto out;
a3470f
-        }
a3470f
-
a3470f
         cds_list_for_each_entry (volinfo, &priv->volumes, vol_list) {
a3470f
                 if (GLUSTERD_STATUS_STARTED == volinfo->status) {
a3470f
                         vol_started = _gf_true;
a3470f
-- 
a3470f
1.8.3.1
a3470f