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....@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)

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to