]> granicus.if.org Git - esp-idf/commit
Merge branch 'bugfix/fatfs_sdmmc_cleanup' into 'master'
authorJiang Jiang Jian <jack@espressif.com>
Tue, 25 Apr 2017 05:48:34 +0000 (13:48 +0800)
committerJiang Jiang Jian <jack@espressif.com>
Tue, 25 Apr 2017 05:48:34 +0000 (13:48 +0800)
commit937940c9890ad4f47e9a2ccc0a7ea45adb3424ab
treee7f735a418b3d7aeff652bf832b2e0a050ef68af
parent775a1fbc6df325735cfe2589c197a97a4375b870
parent8f02730e1f44d00fe72e864ecb461883ec56f098
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