Skip to content

Commit

Permalink
examples/userfs: Add initial value for d_ino
Browse files Browse the repository at this point in the history
Refer to apache/nuttx#13556,
should be merged together.

Signed-off-by: Huang Qi <[email protected]>
  • Loading branch information
no1wudi committed Sep 20, 2024
1 parent 21f5bc9 commit 99c98a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/userfs/userfs_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,19 @@ static char g_file3_data[UFSTEST_FILE3_MXSIZE] = "This is file 3";
static struct ufstest_file_s g_rootdir[UFSTEST_NFILES] =
{
{
{ DTYPE_FILE, "File1" },
{ DTYPE_FILE, 0, "File1" },
UFSTEST_INIT_FILE1_SIZE,
UFSTEST_FILE1_MXSIZE,
g_file1_data
},
{
{ DTYPE_FILE, "File2" },
{ DTYPE_FILE, 0, "File2" },
UFSTEST_INIT_FILE2_SIZE,
UFSTEST_FILE2_MXSIZE,
g_file2_data
},
{
{ DTYPE_FILE, "File3" },
{ DTYPE_FILE, 0, "File3" },
UFSTEST_INIT_FILE3_SIZE,
UFSTEST_FILE3_MXSIZE,
g_file3_data
Expand Down

0 comments on commit 99c98a1

Please sign in to comment.