diff --git a/src/client/dfuse/ops/read.c b/src/client/dfuse/ops/read.c index f01391af127..afee51d9003 100644 --- a/src/client/dfuse/ops/read.c +++ b/src/client/dfuse/ops/read.c @@ -50,9 +50,9 @@ cb_read_helper(struct dfuse_event *ev, void *buff) static void dfuse_cb_slave_list_read_complete(struct dfuse_event *ev, struct dfuse_inode_entry *ie) { - struct dfuse_event *evs, *evn; - d_list_t cblist; - char *buf = ev->de_iov.iov_buf; + struct dfuse_event *evs, *evn; + d_list_t cblist; + char *buf = ev->de_iov.iov_buf; struct active_inode *ia = ie->ie_active; D_INIT_LIST_HEAD(&cblist); diff --git a/utils/node_local_test.py b/utils/node_local_test.py index 67d86c17986..950c1a6dcf5 100755 --- a/utils/node_local_test.py +++ b/utils/node_local_test.py @@ -2374,7 +2374,7 @@ def test_pre_read(self): assert res['statistics']['pre_read'] == 0, res os.close(fd) - # Open a MB file. This reads 8 128k chunks. + # Open a MB file. This reads 8 128k chunks and 1 EOF. with open(join(dfuse.dir, 'file3'), 'r') as fd: data3 = fd.read() res = dfuse.check_usage(old=res)