Changeset 36cb22f in mainline for uspace/srv/fs/mfs/mfs_rw.c
- Timestamp:
- 2011-09-27T13:01:54Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5726a1a3, 747a1e71
- Parents:
- 1db44ea7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_rw.c
r1db44ea7 r36cb22f 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.