diff --git a/src/client/dfuse/ops/read.c b/src/client/dfuse/ops/read.c index 9e8ce659ead1..ec871bfc7714 100644 --- a/src/client/dfuse/ops/read.c +++ b/src/client/dfuse/ops/read.c @@ -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;