From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ext4: fix calculating inode blkcount for non-512 blocksize filesystems
Date: Thu, 18 Jul 2019 19:56:27 -0400 [thread overview]
Message-ID: <20190718235627.GS20116@bill-the-cat> (raw)
In-Reply-To: <20190621133251.451-1-m.szyprowski@samsung.com>
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@samsung.com>
> Reviewed-by: Lukasz Majewski <lukma@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>
prev parent reply other threads:[~2019-07-18 23:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190621133316eucas1p2dc0538511904be2f0efe8fceccb823bb@eucas1p2.samsung.com>
2019-06-21 13:32 ` [U-Boot] [PATCH] ext4: fix calculating inode blkcount for non-512 blocksize filesystems Marek Szyprowski
2019-06-24 9:32 ` Lukasz Majewski
2019-07-18 23:56 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190718235627.GS20116@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox