Skip to content

Commit

Permalink
lklfuse: enable fuse_config.use_ino
Browse files Browse the repository at this point in the history
lkl provides valid st_ino values via the getattr and readdir hooks, so
it makes sense to have fuse use them.

Signed-off-by: David Disseldorp <[email protected]>
  • Loading branch information
ddiss committed Jun 4, 2024
1 parent d00ad61 commit b8618cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/lkl/lklfuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ static void *lklfuse_init(struct fuse_conn_info *conn, struct fuse_config *cfg)
cfg->entry_timeout = 0;
cfg->attr_timeout = 0;
cfg->negative_timeout = 0;
/* lkl provides valid st_ino values */
cfg->use_ino = 1;

return NULL;
}
Expand Down

0 comments on commit b8618cd

Please sign in to comment.