Blob Blame History Raw
From 2b97774c20920745251665893f7dcf32dece8df7 Mon Sep 17 00:00:00 2001
From: Mohit Agrawal <moagrawa@redhat.com>
Date: Tue, 9 Oct 2018 11:12:52 +0530
Subject: [PATCH 393/399] core: Pass xlator_name in
 server_call_xlator_mem_cleanup

Problem: In the commit of patch 9b26837434977601f1e48477904486ea032f742a
         xlator_name missed at the time of calling function
         server_call_xlator_mem_cleanup

Solution: Correct the function argument at the time of calling
          function

> (Reviewed on upstream link https://review.gluster.org/#/c/glusterfs/+/21235/)
BUG: 1631372
Change-Id: I80e735fb2cea4c715f7d3210c5781862aea10a92
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/152213
Tested-by: RHGS Build Bot <nigelb@redhat.com>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
---
 xlators/protocol/server/src/server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index 8ac0bd1..11ee7ba 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -1732,7 +1732,7 @@ notify (xlator_t *this, int32_t event, void *data, ...)
                         glusterfs_mgmt_pmap_signout (ctx,
                                                      victim->name);
                         if (!xprt_found && victim_found) {
-                                server_call_xlator_mem_cleanup (this, victim);
+                                server_call_xlator_mem_cleanup (this, victim->name);
                         }
                 }
                 break;
-- 
1.8.3.1