Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/client/dfuse/ops/read.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) Copyright 2016-2024 Intel Corporation.
* (C) Copyright 2016-2025 Intel Corporation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 2024

*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down Expand Up @@ -200,7 +200,8 @@ check_inflight_fetch(struct active_inode *active, struct dfuse_event *ev)
D_SPIN_LOCK(&active->lock);
d_list_for_each_entry(evc, &active->open_reads, de_read_list) {
if (ev->de_req_position >= evc->de_req_position &&
ev->de_req_len <= evc->de_req_len) {
(ev->de_req_len + ev->de_req_position) <=
(evc->de_req_len + evc->de_req_position)) {
d_list_add(&ev->de_read_list, &evc->de_read_slaves);
D_SPIN_UNLOCK(&active->lock);
return true;
Expand Down
Loading