Consider this for adding to kpatch. The bug is both stupid and dangerous.
Affects: #VSTOR-62689 https://pmc.acronis.work/browse/VSTOR-62689 Signed-off-by: Alexey Kuznetsov <kuz...@acronis.com>
From 47be699f04c1b70fbdaa96b309997801bbd984eb Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov <kuz...@acronis.com> Date: Wed, 25 Jan 2023 12:10:31 +0200 Subject: fuse: pcs: a bug in update of dirty status The bug is both stupid and dangerous. Affects: #VSTOR-62689 https://pmc.acronis.work/browse/VSTOR-62689 Signed-off-by: Alexey Kuznetsov <kuz...@acronis.com> --- fs/fuse/kio/pcs/pcs_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/kio/pcs/pcs_map.c b/fs/fuse/kio/pcs/pcs_map.c index b65d5f9..dcab125 100644 --- a/fs/fuse/kio/pcs/pcs_map.c +++ b/fs/fuse/kio/pcs/pcs_map.c @@ -810,7 +810,7 @@ void transfer_sync_data(struct pcs_cs_list * new_cs_list, struct pcs_cs_list * o for (k = 0; k < old_cs_list->nsrv; k++) { if (old_cs_list->cs[k].info.id.val == new_cs_list->cs[i].info.id.val) { new_cs_list->cs[i].sync = old_cs_list->cs[k].sync; - new_cs_list->cs[i].dirty_ts = old_cs_list->cs[i].dirty_ts; + new_cs_list->cs[i].dirty_ts = old_cs_list->cs[k].dirty_ts; break; } } -- 1.8.3.1
_______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel