Subversion Repositories HelenOS

Rev

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

Rev 3652 Rev 3656
Line 407... Line 407...
407
    uint8_t fatno;
407
    uint8_t fatno;
408
 
408
 
409
    if (fat_cluster_walk(bs, dev_handle, nodep->firstc, &lcl,
409
    if (fat_cluster_walk(bs, dev_handle, nodep->firstc, &lcl,
410
        (uint16_t) -1) == 0) {
410
        (uint16_t) -1) == 0) {
411
        /* No clusters allocated to the node yet. */
411
        /* No clusters allocated to the node yet. */
412
        nodep->firstc = host2uint16_t_le(mcl);
412
        nodep->firstc = mcl;
413
        nodep->dirty = true;        /* need to sync node */
413
        nodep->dirty = true;        /* need to sync node */
414
        return;
414
        return;
415
    }
415
    }
416
 
416
 
417
    for (fatno = FAT1; fatno < bs->fatcnt; fatno++)
417
    for (fatno = FAT1; fatno < bs->fatcnt; fatno++)