Re: [U-Boot] [U-Boot, U-BOOT] fs: ext4: Problem with ext4load and sparse files

2019-04-10 Thread Tom Rini
On Tue, Feb 26, 2019 at 03:45:22PM +, Gero Schumacher wrote: > Hi, > > when I try to load a sparse file via ext4load, I am getting the error message > 'invalid extent' > > After a deeper look in the code, it seems to be an issue in the function > ext4fs_get_extent_block in

[U-Boot] [U-BOOT] fs: ext4: Problem with ext4load and sparse files

2019-02-26 Thread Gero Schumacher
Hi, when I try to load a sparse file via ext4load, I am getting the error message 'invalid extent' After a deeper look in the code, it seems to be an issue in the function ext4fs_get_extent_block in fs/ext4/ext4_common.c: The file starts with 1k of zeros. The blocksize is 1024. So the first