Changeset 64e63ce1 in mainline for uspace/srv/fs/mfs/mfs_balloc.c


Ignore:
Timestamp:
2013-07-11T09:35:48Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ba6651
Parents:
4c53333
Message:

mfs: try to restore a consistent filesystem status in case of error

File:
1 edited

Legend:

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

    r4c53333 r64e63ce1  
    202202                start_block = 2;
    203203                nblocks = sbi->ibmap_blocks;
    204                 limit = sbi->ninodes;
     204                limit = sbi->ninodes - 1;
    205205        }
    206206        bits_per_block = sbi->block_size * 8;
Note: See TracChangeset for help on using the changeset viewer.