]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: ubifs: Add volume mounted check
authorAlexander Dahl <ada@thorsis.com>
Wed, 3 Jul 2024 10:12:58 +0000 (12:12 +0200)
committerHeiko Schocher <hs@denx.de>
Sat, 10 Aug 2024 09:54:28 +0000 (11:54 +0200)
commitca1f11d8c11dacd91c3bfd8e39d41db349e83f8b
tree07cf2e2250ae0997272610e6788caff52c909cd9
parent0989033d0968878bd8f5d42d4f507dc9a806cfe4
fs: ubifs: Add volume mounted check

Safety guard in the U-Boot filesystem glue code, because these functions
are called from different parts of the codebase.  For generic filesystem
handling this should have been checked in blk_get_device_part_str()
already.  Commands from cmd/ubifs.c should also check this before
calling those functions, but you never know?!

Signed-off-by: Alexander Dahl <ada@thorsis.com>
fs/ubifs/ubifs.c