mirror of https://github.com/ARMmbed/mbed-os.git
Before this patch, when calling lfs_mkdir or lfs_file_open with root as the target, littlefs wouldn't find the path properly and happily run into undefined behaviour. The fix is to populate a directory entry for root in the lfs_dir_find function. As an added plus, this allowed several special cases around root to be completely dropped. |
||
---|---|---|
.. | ||
bd | ||
fat | ||
littlefs | ||
Dir.cpp | ||
Dir.h | ||
File.cpp | ||
File.h | ||
FileSystem.cpp | ||
FileSystem.h | ||
mbed_filesystem.h | ||
mbed_lib.json |