Changeset a4726cb in mainline for uspace/srv/fs/minixfs/mfs_balloc.c


Ignore:
Timestamp:
2011-09-06T08:59:03Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b5501d0
Parents:
5987f917
Message:

Fix bug that prevent the filesystem to recognize the disk full condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_balloc.c

    r5987f917 ra4726cb  
    202202                start_block = 2 + sbi->ibmap_blocks;
    203203                nblocks = sbi->zbmap_blocks;
    204                 limit = sbi->nzones;
     204                limit = sbi->nzones - sbi->firstdatazone - 1;
    205205        } else {
    206206                /*bid == BMAP_INODE*/
Note: See TracChangeset for help on using the changeset viewer.