Changeset d1b625b in mainline


Ignore:
Timestamp:
2008-11-25T22:44:56Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a31c1ccf
Parents:
83d9712
Message:

Fix the bogus assert().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.c

    r83d9712 rd1b625b  
    386386        /* Mark all clusters in the chain as free in all copies of FAT. */
    387387        while (firstc < FAT_CLST_LAST1) {
     388                assert(firstc >= FAT_CLST_FIRST && firstc < FAT_CLST_BAD);
    388389                nextc = fat_get_cluster(bs, dev_handle, firstc);
    389                 assert(nextc >= FAT_CLST_FIRST && nextc < FAT_CLST_BAD);
    390390                for (fatno = FAT1; fatno < bs->fatcnt; fatno++)
    391391                        fat_set_cluster(bs, dev_handle, fatno, firstc,
Note: See TracChangeset for help on using the changeset viewer.