[Devel] [PATCH VZ9] fs/fuse kio: Initialize the cloned msg properly
Liu Kui
kui.liu at virtuozzo.com
Wed Jan 29 16:04:46 MSK 2025
Initialize the kill_link field of cloned msg, so that it won't trigger
the BUG_ON in rpc_abort().
Related to #VSTOR-98866
Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>
---
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);
}
--
2.39.5 (Apple Git-154)
More information about the Devel
mailing list