[U-Boot] [PATCH] ext4: fix calculating inode blkcount for non-512 blocksize filesystems
Tom Rini
trini at konsulko.com
Thu Jul 18 23:56:27 UTC 2019
On Fri, Jun 21, 2019 at 03:32:51PM +0200, Marek Szyprowski wrote:
> The block count entry in the EXT4 filesystem disk structures uses
> standard 512-bytes units for most of the typical files. The only
> exception are HUGE files, which use the filesystem block size, but those
> are not supported by uboot's EXT4 implementation anyway. This patch fixes
> the EXT4 code to use proper unit count for inode block count. This fixes
> errors reported by fsck.ext4 on disks with non-standard (i.e. 4KiB, in
> case of new flash drives) PHYSICAL block size after using 'ext4write'
> uboot's command.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Reviewed-by: Lukasz Majewski <lukma at denx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190718/9630186d/attachment.sig>
More information about the U-Boot
mailing list