Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 963462af in mainline


Ignore:
Timestamp:
2010-01-15T19:34:01Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
5edb1f5, 61c0402
Parents:
563d6077 (diff), 50f9c3a (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:

Merge FAT server fix.

File:
1 edited

Legend:

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

    r563d6077 r963462af  
    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.