[PATCH] fs: ext4fs: Add initialization failure recovery path in ext4fs_write

Tom Rini trini at konsulko.com
Wed Aug 27 20:29:22 CEST 2025


On Tue, Aug 26, 2025 at 12:37:17PM -0700, Tony Dinh wrote:

> Don't invoke ext4fs_deinit() in ext4fs_write() if the failure occurs
> during initialization. It would result in a crash since ext4fs_init()
> has already done that.
> 
> Signed-off-by: Tony Dinh <mibodhi at gmail.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250827/0c07b39f/attachment.sig>


More information about the U-Boot mailing list