Unpleasant, shows the code never was in this place before.

https://pmc.acronis.work/browse/VSTOR-77923

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 ae13557..eabad8a 100644
--- a/fs/fuse/kio/pcs/pcs_map.c
+++ b/fs/fuse/kio/pcs/pcs_map.c
@@ -2877,7 +2877,7 @@ static int commit_sync_info(struct pcs_int_request *req,
                        int idx;
                        clear_bit(CS_SF_REPLICATING, 
&csl->cs[read_idx].cslink.cs->state);
                        clear_bit(read_idx, &csl->blacklist);
-                       for (idx = csl->nsrv - 1; idx >= 0; idx++) {
+                       for (idx = csl->nsrv - 1; idx >= 0; idx--) {
                                if (test_bit(CS_SF_REPLICATING, 
&csl->cs[idx].cslink.cs->state))
                                        break;
                        }
-- 
1.8.3.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to