ext4: add support for filesystems without JOURNAL
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 21 Jun 2019 13:35:35 +0000 (15:35 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:24 +0000 (11:31 -0400)
commitbd8fbd8a13b8a696aed312753f46432b19b61fd6
treee38b25bdf3e3e3fe4898beb658e421f9d69ee6b7
parent1c9f8f6412de4447c4f6fadeac1919c89de005f7
ext4: add support for filesystems without JOURNAL

JOURNAL is optional for EXT4 (and EXT3) filesystems, so add support for
skipping it. This fixes corrupting EXT4 volumes without JOURNAL after
using uboot's 'ext4write' command.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
fs/ext4/ext4_journal.c
fs/ext4/ext4_journal.h