Files
openwrt-R7800-nss/target/linux
Daniel Golle 2b9c81d1cb generic: fitblk: close block device if mapping image failed
In case a broken fit image is present on flash the fitblk driver would
not map any /dev/fit* devices, but also not always close the block device
the image resides on. In case of ubiblock devices this is fatal as one
then cannot remove the ubiblock device (-EBUSY), and hence cannot replace
the broken image.
Always close the block device in case no sub-image was mapped.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-03-28 15:42:41 +00:00
..
2025-03-12 23:56:09 +01:00
2025-03-26 11:10:12 +01:00
2025-03-16 22:19:46 +01:00
2025-03-15 10:25:57 +01:00