Changes between Version 61 and Version 62 of file_system


Ignore:
Timestamp:
Mar 2, 2016, 1:00:01 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v61 v62  
    341341
    342342=== __unsigned int '''_all_clusters_release'''( fat_node_t* inode )__ ===
    343 This function releases all clusters allocated to a file or directory identified by the <inode> argument, until the end of the FAT linked list. It calls the _cluster release() recursive function to release the clusters in reverse order (from last to first), using the _get_fat_entry() and _set_fat_entry() functions to access the FAT, and update the clusters chaining. The FAT region and the FS-INFO sector on block device are also updated.
     343This function releases all clusters allocated to a file or directory identified by the <inode> argument, until the end of the FAT linked list. All released clusters are marked as FREE_CLUSTER in FAT. This function calls the _cluster release() recursive function to release the clusters in reverse order (from last to first), using the _get_fat_entry() and _set_fat_entry() functions to access the FAT, and update the clusters chaining. The FAT region and the FS-INFO sector on block device are also updated.
    344344
    345345It returns 0 on success. It returns 1 on error.