Skip to content

Commit 49e0010

Browse files
committed
[fix](dfs): fix dfs path max
[Descriptions]: 1. Current default DFS_PATH_MAX is 4096, but it should be DIRENT_NAME_MAX.
1 parent c3125df commit 49e0010

File tree

1 file changed

+1
-1
lines changed
  • components/dfs/dfs_v2/include

1 file changed

+1
-1
lines changed

components/dfs/dfs_v2/include/dfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#endif
7070

7171
#ifndef DFS_PATH_MAX
72-
#define DFS_PATH_MAX 4096
72+
#define DFS_PATH_MAX DIRENT_NAME_MAX
7373
#endif
7474

7575
#ifndef SECTOR_SIZE

0 commit comments

Comments
 (0)