Changeset 36cb22f in mainline for uspace/lib/c/include/ipc/vfs.h

Timestamp:
2011-09-27T13:01:54Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5726a1a3, 747a1e71
Parents:
1db44ea
Message:

fix a bug in the mfs_write() and mfs_read_map() functions.

  • mfs_read_map(): the inode size must be rounded up to the block size before testing

if "pos" is beyond the end of file.

  • mfs_write(): fix inode size calculation and set BLOCK_FLAGS_NOREAD when a new block is allocated.
(No files)

Note: See TracChangeset for help on using the changeset viewer.