[Devel] [PATCH VZ9 2/2] fs/fuse/kio: one more preempt_count disbalance

Alexey Kuznetsov kuznet at virtuozzo.com
Fri Dec 5 12:11:23 MSK 2025


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

Signed-off-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
---
 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 73476f5..47b7336 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;
-- 
1.8.3.1



More information about the Devel mailing list