Skip to content

Conversation

@no1wudi
Copy link
Contributor

@no1wudi no1wudi commented Sep 20, 2024

Summary

Currently implementations of dirent.h do not have a field for the inode number, but it is required by POSIX.

For better compatibility with POSIX based applications, it is should be added even if it is not actually implemented.

Refer to apache/nuttx#13556, should be merged together.

Impact

  • include/dirent.h.
  • include/nuttx/fs/hostfs.h.
  • Makes implementation compatible with POSIX.

Testing

CI

Refer to apache/nuttx#13556,
should be merged together.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
#define UFSTEST_INIT_FILE3_SIZE 14

static struct ufstest_file_s g_rootdir[UFSTEST_NFILES] =
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compiler warnings :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants