Ignore:
Timestamp:
Jul 20, 2015, 6:02:55 PM (9 years ago)
Author:
guerin
Message:

fat32: don't try to load cluster -1 in _get_buffer_from_cache()

This was causing a hardlock when trying to remove /bin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_fat32/fat32.c

    r634 r636  
    19681968        if (offset == 0)  // we must load buffer for (cluster_id - 1)
    19691969        {
     1970            if ( cluster_id == 0 )
     1971                break;
     1972
    19701973            if ( _get_buffer_from_cache( inode->parent,
    19711974                                         cluster_id - 1,
Note: See TracChangeset for help on using the changeset viewer.