diff --git a/src/concurrency/ocf_cache_line_concurrency.c b/src/concurrency/ocf_cache_line_concurrency.c index 1d07a45d..c802a0a4 100644 --- a/src/concurrency/ocf_cache_line_concurrency.c +++ b/src/concurrency/ocf_cache_line_concurrency.c @@ -1,5 +1,6 @@ /* * Copyright(c) 2012-2022 Intel Corporation + * Copyright(c) 2022-2024 Huawei Technologies * SPDX-License-Identifier: BSD-3-Clause */ @@ -135,7 +136,7 @@ static int ocf_cl_lock_line_slow(struct ocf_alock *alock, continue; entry = ocf_cl_lock_line_get_entry(alock, req, i); - ocf_alock_waitlist_remove_entry(alock, req, i, entry, rw); + ocf_alock_waitlist_remove_entry(alock, req, entry, i, rw); } return ret; diff --git a/src/concurrency/ocf_mio_concurrency.c b/src/concurrency/ocf_mio_concurrency.c index 255ac6ff..173d4c92 100644 --- a/src/concurrency/ocf_mio_concurrency.c +++ b/src/concurrency/ocf_mio_concurrency.c @@ -1,5 +1,6 @@ /* * Copyright(c) 2021-2022 Intel Corporation + * Copyright(c) 2022-2024 Huawei Technologies * SPDX-License-Identifier: BSD-3-Clause */ @@ -92,7 +93,7 @@ static int ocf_mio_lock_slow(struct ocf_alock *alock, err: for (; i >= 0; i--) { entry = ocf_mio_lock_get_entry(alock, req, i); - ocf_alock_waitlist_remove_entry(alock, req, i, entry, OCF_WRITE); + ocf_alock_waitlist_remove_entry(alock, req, entry, i, OCF_WRITE); } return ret; diff --git a/src/concurrency/ocf_pio_concurrency.c b/src/concurrency/ocf_pio_concurrency.c index cf6b40c4..2fdd5c2a 100644 --- a/src/concurrency/ocf_pio_concurrency.c +++ b/src/concurrency/ocf_pio_concurrency.c @@ -1,5 +1,6 @@ /* * Copyright(c) 2021-2022 Intel Corporation + * Copyright(c) 2022-2024 Huawei Technologies * SPDX-License-Identifier: BSD-3-Clause */ @@ -130,7 +131,7 @@ static int ocf_pio_lock_slow(struct ocf_alock *alock, if (unlikely(entry == OUT_OF_RANGE)) continue; - ocf_alock_waitlist_remove_entry(alock, req, i, entry, OCF_WRITE); + ocf_alock_waitlist_remove_entry(alock, req, entry, i, OCF_WRITE); } return ret;