[Devel] [PATCH RHEL9 COMMIT] fs/fuse kio: Initialize the cloned msg properly
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jan 29 17:09:11 MSK 2025
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.44.1.vz9.80.9
------>
commit 0fdab0edc9b3fa237317475eb243f8835d618dfc
Author: Liu Kui <kui.liu at virtuozzo.com>
Date: Wed Jan 29 21:04:46 2025 +0800
fs/fuse kio: Initialize the cloned msg properly
Initialize the kill_link field of cloned msg, so that it won't trigger
the BUG_ON in rpc_abort().
Fixes: 694142cae2c4 ("fuse kio: Add pcs engine combo v0.8")
Related to #VSTOR-98866
https://virtuozzo.atlassian.net/browse/VSTOR-98866
Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>
Feature: vStorage
---
fs/fuse/kio/pcs/pcs_rpc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/kio/pcs/pcs_rpc.c b/fs/fuse/kio/pcs/pcs_rpc.c
index 9b2f09843919..e74448f2074a 100644
--- a/fs/fuse/kio/pcs/pcs_rpc.c
+++ b/fs/fuse/kio/pcs/pcs_rpc.c
@@ -1143,6 +1143,7 @@ void pcs_rpc_call(struct pcs_rpc * ep, struct pcs_msg * msg)
clone->rpc = NULL;
clone->done = rpc_call_sent_cb;
clone->timeout = msg->timeout;
+ INIT_HLIST_NODE(&clone->kill_link);
pcs_rpc_queue(ep, clone);
}
More information about the Devel
mailing list