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