Changeset 8a49fed in mainline for uspace/srv/fs/minixfs/mfs_rw.c
- Timestamp:
- 2011-04-30T11:45:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44c6091f
- Parents:
- 2874547
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_rw.c
r2874547 r8a49fed 83 83 { 84 84 const struct mfs_sb_info *sbi = mnode->instance->sbi; 85 const int block_size = sbi->block_size;86 85 87 86 /*Compute the relative block number in file*/ 88 int rblock = pos / block_size;87 int rblock = pos / sbi->block_size; 89 88 90 89 return rw_map_ondisk(old_zone, mnode, rblock, true, new_zone);
Note:
See TracChangeset
for help on using the changeset viewer.