Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: Fix null pointer exception caused by async fs_unmount
The mp pointer is in fs_file_t and fs_dir_t so if the fs pointer is made NULL then subsequent file I/O operations will cause a NULL pointer exception. Removing the mount point from the list is threadsafe and should be sufficient. Signed-off-by: Chris Desjardins <chris@arch-embedded.com>
- Loading branch information