Skip to content

Commit

Permalink
DAOS-16686 dfuse: fix style
Browse files Browse the repository at this point in the history
fix style

Required-githooks: true
Run-GHA: true
Allow-unstable-test: true
Signed-off-by: Di Wang <ddiwang@google.com>
  • Loading branch information
wangdi1 committed Dec 28, 2024
1 parent 9d681a4 commit 651ba04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/client/dfuse/ops/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion utils/node_local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 651ba04

Please sign in to comment.