Ignore:
Timestamp:
Jul 20, 2017, 12:55:23 PM (5 years ago)
Author:
alain
Message:

Fix a major bug in FATFS : miss handling in the FAT mapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/vfs/fatfs.h

    r238 r246  
    243243 * It must be called by a thread running in cluster containing the mapper.
    244244 * The pointer on the mapper and the page index in file are registered
    245  * in the page descriptor.
     245 * in the page descriptor.
     246 * WARNING : The inode field in the mapper must be NULL for the FAT mapper.
     247 * This is used to implement a specific behaviour to access the FAT zone on device.
    246248 *****************************************************************************************
    247249 * @ page      : local pointer on page descriptor.
     
    249251 * @ return 0 if success / return EIO if error.
    250252 ****************************************************************************************/
    251 error_t fatfs_move_page( struct page_s * page,
    252                          bool_t          to_mapper );
     253error_t fatfs_mapper_move_page( struct page_s * page,
     254                                bool_t          to_mapper );
    253255
    254256
Note: See TracChangeset for help on using the changeset viewer.