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 ded5ac6979f64366a40f9b666df989e060c25a0b Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov <kuz...@acronis.com> Date: Wed, 25 Jan 2023 18:16:09 +0800 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 f3bc3a18517d..0568d7966072 100644 --- a/fs/fuse/kio/pcs/pcs_map.c +++ b/fs/fuse/kio/pcs/pcs_map.c @@ -820,7 +820,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; } } -- 2.31.1
_______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel