Changeset b86d436 in mainline for uspace/srv/fs/fat/fat_fat.c


Ignore:
Timestamp:
2010-01-31T17:25:39Z (14 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5cde90f, b473611
Parents:
8e33e1d (diff), 3c081d0e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged head changes up to revision 220.

File:
1 edited

Legend:

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

    r8e33e1d rb86d436  
    400400                         * from the size of the file allocation table.
    401401                         */
    402                         if ((cl - 2) * bs->spc + ssa >= ts) {
     402                        if ((cl >= 2) && ((cl - 2) * bs->spc + ssa >= ts)) {
    403403                                rc = block_put(blk);
    404404                                if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.