Changeset 3ab580a in mainline
- Timestamp:
- 2011-04-17T18:42:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 127d999
- Parents:
- 58c36ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_inode.c
r58c36ac r3ab580a 225 225 struct mfs_sb_info *sbi = mnode->instance->sbi; 226 226 227 const uint32_t inum = ino_i->index - 1; 227 228 const int itable_off = sbi->itable_off; 228 const int ino_off = in o_i->index% sbi->ino_per_block;229 const int ino_off = inum % sbi->ino_per_block; 229 230 const bool native = sbi->native; 230 231 231 232 r = block_get(&b, mnode->instance->handle, 232 itable_off + in o_i->index/ sbi->ino_per_block,233 itable_off + inum / sbi->ino_per_block, 233 234 BLOCK_FLAGS_NONE); 234 235 … … 267 268 int i, r; 268 269 270 const uint32_t inum = ino_i->index - 1; 269 271 const int itable_off = sbi->itable_off; 270 const int ino_off = in o_i->index% sbi->ino_per_block;272 const int ino_off = inum % sbi->ino_per_block; 271 273 const bool native = sbi->native; 272 274 273 275 r = block_get(&b, mnode->instance->handle, 274 itable_off + in o_i->index/ sbi->ino_per_block,276 itable_off + inum / sbi->ino_per_block, 275 277 BLOCK_FLAGS_NONE); 276 278
Note:
See TracChangeset
for help on using the changeset viewer.