ext2: increment block on large reads

This commit is contained in:
Michael Shaw 2025-02-14 16:31:16 -05:00
commit 5159a530c6
9 changed files with 184 additions and 72 deletions

View file

@ -942,6 +942,8 @@ static int ext2_read_file(struct vnode *vnode, void *buf, size_t offset, size_t
offset = 0;
count -= MIN(fs->block_size, count);
block++;
}
return ret;