Commit 862af5e9 authored by Chris Desjardins's avatar Chris Desjardins Committed by Mahesh Mahadevan
Browse files

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: default avatarChris Desjardins <chris@arch-embedded.com>
parent f781d7a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment