Changeset 747a1e71 in mainline for uspace/srv/fs/mfs/mfs_rw.c
- Timestamp:
- 2011-09-27T13:54:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c9e71a, e231d26
- Parents:
- ab545980 (diff), 36cb22f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_rw.c
rab545980 r747a1e71 31 31 */ 32 32 33 #include <align.h> 33 34 #include "mfs.h" 34 35 … … 70 71 int rblock = pos / block_size; 71 72 72 if ( mnode->ino_i->i_size< pos) {73 if (ROUND_UP(mnode->ino_i->i_size, sbi->block_size) < pos) { 73 74 /*Trying to read beyond the end of file*/ 74 75 r = EOK;
Note:
See TracChangeset
for help on using the changeset viewer.