[Devel] [PATCH RHEL7 COMMIT] fuse/kio_pcs/pcs_map: fix process_flush_req lock leakage

Konstantin Khorenko khorenko at virtuozzo.com
Fri Apr 27 12:09:01 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-693.21.1.vz7.47.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.21.1.vz7.46.7
------>
commit deceb9e019bd79b8285bb1956927b7312688e160
Author: Dmitry Monakhov <dmonakhov at openvz.org>
Date:   Fri Apr 27 12:09:01 2018 +0300

    fuse/kio_pcs/pcs_map: fix process_flush_req lock leakage
    
    https://pmc.acronis.com/browse/VSTOR-8116
    Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
 fs/fuse/kio/pcs/pcs_map.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/fuse/kio/pcs/pcs_map.c b/fs/fuse/kio/pcs/pcs_map.c
index 705743056462..085f49fd0219 100644
--- a/fs/fuse/kio/pcs/pcs_map.c
+++ b/fs/fuse/kio/pcs/pcs_map.c
@@ -2694,6 +2694,7 @@ void process_flush_req(struct pcs_int_request *ireq)
 	return;
 
 done:
+	spin_unlock(&m->lock);
 	if (pcs_if_error(&ireq->error)) {
 		TRACE("oops, delete me %d", ireq->error.value);
 		pcs_clear_error(&ireq->error);


More information about the Devel mailing list