Changeset 38224615 in mainline
- Timestamp:
- 2011-07-16T22:42:43Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44799a0
- Parents:
- 367d67fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_balloc.c
r367d67fe r38224615 63 63 int r = mfs_alloc_bit(inst, zone, BMAP_ZONE); 64 64 65 *zone += inst->sbi->firstdatazone ;65 *zone += inst->sbi->firstdatazone - 1; 66 66 return r; 67 67 } … … 70 70 mfs_free_zone(struct mfs_instance *inst, uint32_t zone) 71 71 { 72 zone -= inst->sbi->firstdatazone ;72 zone -= inst->sbi->firstdatazone - 1; 73 73 74 74 return mfs_free_bit(inst, zone, BMAP_ZONE);
Note:
See TracChangeset
for help on using the changeset viewer.