!29 打印的非预期linked_inode的地址
From: @kyliwenchong Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
3573b69b01
30
0002-upcall-internal.c-fix-debug-log-message-3651.patch
Normal file
30
0002-upcall-internal.c-fix-debug-log-message-3651.patch
Normal file
@ -0,0 +1,30 @@
|
||||
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
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: glusterfs
|
||||
Version: 7.0
|
||||
Release: 7
|
||||
Release: 8
|
||||
License: GPLv2 and LGPLv3+
|
||||
Summary: Aggregating distributed file system
|
||||
URL: http://docs.gluster.org/
|
||||
@ -12,6 +12,7 @@ Source7: glusterfsd.service
|
||||
|
||||
Patch0: 0000-core-fix-memory-pool-management-races.patch
|
||||
Patch1: 0001-geo-rep-Fix-the-name-of-changelog-archive-file.patch
|
||||
Patch2: 0002-upcall-internal.c-fix-debug-log-message-3651.patch
|
||||
|
||||
BuildRequires: systemd bison flex gcc make libtool ncurses-devel readline-devel libattr-devel
|
||||
BuildRequires: libxml2-devel openssl-devel libaio-devel libacl-devel python3-devel git perl
|
||||
@ -460,6 +461,9 @@ exit 0
|
||||
%{_mandir}/man8/*gluster*.8*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 9 2022 liwenchong <liwenchong@kylinos.cn> - 7.0-8
|
||||
- fix debug log message
|
||||
|
||||
* Tue Jun 8 2021 yanglongkang <yanglongkang@huawei.com> - 7.0-7
|
||||
- geo-rep fix the name of changelog archive file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user