Subversion Repositories HelenOS

Rev

Rev 3572 | Rev 3593 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3572 Rev 3573
Line 418... Line 418...
418
 *
418
 *
419
 * @param bs        Buffer holding the boot sector of the file system.
419
 * @param bs        Buffer holding the boot sector of the file system.
420
 * @param nodep     FAT node where the chopping will take place.
420
 * @param nodep     FAT node where the chopping will take place.
421
 * @param lastc     Last cluster which will remain in the node. If this
421
 * @param lastc     Last cluster which will remain in the node. If this
422
 *          argument is FAT_CLST_RES0, then all clusters will
422
 *          argument is FAT_CLST_RES0, then all clusters will
423
 *          be choped off.
423
 *          be chopped off.
424
 */
424
 */
425
void fat_chop_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t lastc)
425
void fat_chop_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t lastc)
426
{
426
{
427
    dev_handle_t dev_handle = nodep->idx->dev_handle;
427
    dev_handle_t dev_handle = nodep->idx->dev_handle;
428
    if (lastc == FAT_CLST_RES0) {
428
    if (lastc == FAT_CLST_RES0) {