From 46c38878bfec3d4089cec193faef2a6cfec35463 Mon Sep 17 00:00:00 2001
From: Yaniv Kaul <ykaul@redhat.com>
Date: Tue, 19 Jul 2022 07:45:03 +0300
Subject: [PATCH] upcall-internal.c: fix debug log message (#3651)

It was meant to print linked_inode, not inode.

Fixes: #3647
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>

---
 xlators/features/upcall/src/upcall-internal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xlators/features/upcall/src/upcall-internal.c b/xlators/features/upcall/src/upcall-internal.c
index 978825f..83aca92 100644
--- a/xlators/features/upcall/src/upcall-internal.c
+++ b/xlators/features/upcall/src/upcall-internal.c
@@ -500,7 +500,7 @@ upcall_cache_invalidate(call_frame_t *frame, xlator_t *this, client_t *client,
         linked_inode = inode_find(inode->table, stbuf->ia_gfid);
         if (linked_inode) {
             gf_log("upcall", GF_LOG_DEBUG,
-                   "upcall_inode_ctx_get of linked inode (%p)", inode);
+                   "upcall_inode_ctx_get of linked inode (%p)", linked_inode);
             up_inode_ctx = upcall_inode_ctx_get(linked_inode, this);
         }
     }
-- 
2.23.0

