]> git.dujemihanovic.xyz Git - u-boot.git/commit
ext4: Improve feature checking
authorRichard Weinberger <richard@nod.at>
Mon, 29 Jul 2024 21:37:31 +0000 (23:37 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 15 Aug 2024 20:35:15 +0000 (14:35 -0600)
commitfaf73fb70da91a5bccc8791be6dccdea99dee829
treeaedddbac416e37b97dfcb3daa3236a8b887daf0a
parent37dc8c2e98dafd10520207382c17a2ff234c20b7
ext4: Improve feature checking

Evaluate the filesystem incompat and ro_compat bit fields to judge
whether the filesystem can be read or written.
For the read side only a scary warning is shown so far.
I'd love to abort mounting too, but I fear this will break some setups
where the driver works by chance.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ext4/ext4_common.c
fs/ext4/ext4_write.c
include/ext4fs.h