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 <[email protected]>
---
 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

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to