1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/generic
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
..
backport-6.6 kernel: bump 6.6 to 6.6.84 2025-03-26 11:10:12 +01:00
files kernel: ar8327: support LED device tree bindings 2025-03-17 16:40:46 +01:00
hack-6.6 kernel: bump 6.6 to 6.6.84 2025-03-26 11:10:12 +01:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.6 generic: fitblk: close block device if mapping image failed 2025-03-28 15:42:41 +00:00
config-6.6 generic: reorder settings 2025-03-27 16:37:23 +01:00
config-filter kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
PATCHES