- Timestamp:
- Jul 16, 2015, 3:29:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.c
r606 r616 1969 1969 while ( nb_lfn ) 1970 1970 { 1971 if (offset == 0) // me must load buffer for (cluster_id - 1)1971 if (offset == 0) // we must load buffer for (cluster_id - 1) 1972 1972 { 1973 1973 if ( _get_buffer_from_cache( inode->parent, … … 1976 1976 buffer = pdesc->buffer; 1977 1977 pdesc->dirty = 1; 1978 offset = 4064; 1979 } 1980 else 1981 { 1982 offset = offset - 32; 1983 } 1978 offset = 4096; 1979 } 1980 1981 offset = offset - 32; 1982 1983 // check for LFN entry 1984 if ( _read_entry( DIR_ATTR , buffer + offset , 0 ) != ATTR_LONG_NAME_MASK ) 1985 break; 1984 1986 1985 1987 // invalidate LFN entry
Note: See TracChangeset
for help on using the changeset viewer.