Skip to content

Commit

Permalink
Set the len to 0.
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Pittman <ashley.m.pittman@intel.com>
  • Loading branch information
ashleypittman committed Apr 26, 2024
1 parent 5ca6b95 commit 3e98bf3
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 @@ -270,7 +270,7 @@ chunk_fetch(fuse_req_t req, struct dfuse_obj_hdl *oh, struct read_chunk_data *cd
ev->de_req = req;
ev->de_cd = cd;
ev->de_sgl.sg_nr = 1;

ev->de_len = 0;
ev->de_complete_cb = chunk_cb;

cd->ev = ev;
Expand Down

0 comments on commit 3e98bf3

Please sign in to comment.