lib/fatfs_glue.c
/*
 * umount_fs - unmounts the FATFS structure and remove the files & folders
 *
 * @mount - the mount structure
 *
 *  This function removes the entries from VFS for the specified mount path
 *  and it de-allocates memory used by the FAT fs
 */
unmounts the FATFS structure and remove the files & folders
@mount - the mount structure

This function removes the entries from VFS for the specified mount path
and it de-allocates memory used by the FAT fs
unmounts the FATFS structure and remove the files & folders @mount - the mount structure This function removes the entries from VFS for the specified mount path and it de - allocates memory used by the FAT fs
static int umount_fs(const char *mount_path)
{
  f_mount(NULL, "", 0);
  free(g_fatfs);
  g_fatfs      = NULL;
  g_mounted_fs = NULL;
  return OK;
}
static int umount_fs ( const char * mount_path ) { f_mount ( NULL , " " , 0 ) ; free ( g_fatfs ) ; g_fatfs = NULL ; g_mounted_fs = NULL ; return OK ; }
umount_fs - unmounts the FATFS structure and remove the files & folders
 @mount - the mount structure
umount_fs - unmounts the FATFS structure and remove the files & folders @mount - the mount structure