From: Jiang Jiang Jian Date: Tue, 25 Apr 2017 05:48:34 +0000 (+0800) Subject: Merge branch 'bugfix/fatfs_sdmmc_cleanup' into 'master' X-Git-Tag: v2.1-rc1~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=937940c9890ad4f47e9a2ccc0a7ea45adb3424ab;p=esp-idf Merge branch 'bugfix/fatfs_sdmmc_cleanup' into 'master' fat/sdmmc: unmount FATFS object on error Failure to call f_mount(NULL,...) makes FATFS attempt to clean up the old FS object upon next mount. If previous mount operation has failed, some parts of FS object may not be fully initialized, which will cause errors (such as attempting to delete a mutex which wasn’t allocated). Fixes TW11594. See merge request !679 --- 937940c9890ad4f47e9a2ccc0a7ea45adb3424ab