The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will 
appear at g...@bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.44.1.vz9.80.8
------>
commit 78870d51913bd072aa62f0b5a0b0b9d92655f3c2
Author: Liu Kui <kui....@virtuozzo.com>
Date:   Tue Jan 28 13:43:52 2025 +0800

    fs/fuse kio: get the correct rpc pointer in pcs_rpc_sent_cb()
    
    Get the rpc pointer from the original msg instead of the cloned msg.
    Because it could be NULL in the cloned msg if it is being aborted
    while still sits in the rpc's input_queue.
    
    Related to #VSTOR-98673
    https://virtuozzo.atlassian.net/browse/VSTOR-98673
    Fixes: 694142cae2c4 ("fuse kio: Add pcs engine combo v0.8")
    
    Signed-off-by: Liu Kui <kui....@virtuozzo.com>
    
    Feature: vStorage
---
 fs/fuse/kio/pcs/pcs_rpc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/fuse/kio/pcs/pcs_rpc.c b/fs/fuse/kio/pcs/pcs_rpc.c
index 5557fc2fc9eb..9b2f09843919 100644
--- a/fs/fuse/kio/pcs/pcs_rpc.c
+++ b/fs/fuse/kio/pcs/pcs_rpc.c
@@ -1061,8 +1061,8 @@ void pcs_rpc_sent(struct pcs_msg * msg)
 
 static void rpc_call_sent_cb(struct pcs_msg * clone)
 {
-       struct pcs_msg * msg = clone->private;
-       struct pcs_rpc * ep = clone->rpc;
+       struct pcs_msg *msg = clone->private;
+       struct pcs_rpc *ep = msg->rpc;
 
        BUG_ON(!mutex_is_locked(&ep->mutex));
 
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to