[Devel] [PATCH RHEL10 COMMIT] fs/fuse/kio: one more preempt_count disbalance

Konstantin Khorenko khorenko at virtuozzo.com
Fri Dec 5 18:09:38 MSK 2025


The commit is pushed to "branch-rh10-6.12.0-55.13.1.2.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.2.24.vz10
------>
commit 7046a24822880f233454ece8b1f3bb416f3f7948
Author: Alexey Kuznetsov <kuznet at virtuozzo.com>
Date:   Fri Dec 5 17:11:23 2025 +0800

    fs/fuse/kio: one more preempt_count disbalance
    
    Exactly similar to earlier "fs/fuse/kio: accidental preempt_count disbalance",
    apaprently copypasted. It is a shame I did not verify all the uses back then,
    apparenly decided suchawful thing could not be done more than once. :-)
    
    Fixes: 6de3a9cb51d71 ("fuse: implement fanout writes")
    Signed-off-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
    
    Feature: vStorage
    (cherry picked from commit febabfdbc6d7fc78c8c696f3308beb2445bdba1a)
---
 fs/fuse/kio/pcs/pcs_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/kio/pcs/pcs_cs.c b/fs/fuse/kio/pcs/pcs_cs.c
index 98bbefa50f8a7..fdada31199a41 100644
--- a/fs/fuse/kio/pcs/pcs_cs.c
+++ b/fs/fuse/kio/pcs/pcs_cs.c
@@ -621,8 +621,8 @@ static void ireq_complete_fo(struct pcs_int_request * ireq)
 					*ch = ireq->iochunk.fo.io_times[i];
 				}
 			}
+			FUSE_TRACE_COMMIT(fc->ktrace);
 		}
-		FUSE_TRACE_COMMIT(fc->ktrace);
 	}
 	ireq->iochunk.ir.msg.destructor = NULL;
 	ireq->iochunk.ir.msg.rpc = NULL;


More information about the Devel mailing list