On 11/06/2016 10:33 AM, Stefan Brüns wrote:
Support was already implemented, but not hooked up. This fixes several
fails in the test cases.
diff --git a/fs/ext4/ext4fs.c b/fs/ext4/ext4fs.c
/* Adjust len so it we can't read past the end of the file. */
- if (len > filesize)
-
Support was already implemented, but not hooked up. This fixes several
fails in the test cases.
Signed-off-by: Stefan Brüns
---
v2:
- update ext4fs_read(...) calls from spl_ext.c
- move clamping to ext4fs_read_file(...), i.e. correct the check
for offset != 0
common/spl/spl_ext.c | 8
2 matches
Mail list logo