Skip to content

Commit

Permalink
Fix an issue with position.
Browse files Browse the repository at this point in the history
Test-tag: dfuse

Signed-off-by: Ashley Pittman <ashley.m.pittman@intel.com>
  • Loading branch information
ashleypittman committed Apr 26, 2024
1 parent 3e98bf3 commit 9f806da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/dfuse/ops/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ chunk_read(fuse_req_t req, size_t len, off_t position, struct dfuse_obj_hdl *oh)
bool submit = false;
bool rcb = false;

last = position = (position + (K128 - 1)) & -K128;
last = position + ((position + (K128 - 1)) & -K128);

if (len != K128)
return false;
Expand Down

0 comments on commit 9f806da

Please sign in to comment.