Changeset 70ac0af in mainline for uspace/srv/fs/minixfs/mfs_rw.c
- Timestamp:
- 2011-07-06T19:26:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e80c2ff
- Parents:
- efa5fa1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_rw.c
refa5fa1 r70ac0af 100 100 101 101 if (old_zone > 0) 102 r = mfs_free_ bit(mnode->instance, old_zone, BMAP_ZONE);102 r = mfs_free_zone(mnode->instance, old_zone); 103 103 104 104 return r; … … 256 256 /*free the single indirect zone*/ 257 257 if (ino_i->i_izone[0]) { 258 r = mfs_free_ bit(inst, ino_i->i_izone[0], BMAP_ZONE);258 r = mfs_free_zone(inst, ino_i->i_izone[0]); 259 259 on_error(r, return r); 260 260 … … 286 286 continue; 287 287 288 r = mfs_free_ bit(inst, dbl_zone[i], BMAP_ZONE);288 r = mfs_free_zone(inst, dbl_zone[i]); 289 289 on_error(r, return r); 290 290 } 291 291 292 292 if (fzone_to_free == 0) { 293 r = mfs_free_ bit(inst, ino_i->i_izone[1], BMAP_ZONE);293 r = mfs_free_zone(inst, ino_i->i_izone[1]); 294 294 ino_i->i_izone[1] = 0; 295 295 ino_i->dirty = true; … … 321 321 int r; 322 322 323 r = mfs_alloc_ bit(inst, zone, BMAP_ZONE);323 r = mfs_alloc_zone(inst, zone); 324 324 on_error(r, return r); 325 325
Note:
See TracChangeset
for help on using the changeset viewer.