diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-12-19 02:33:24 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-02-25 22:41:33 +0100 |
commit | 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 (patch) | |
tree | 21a7388dc6708d72f756ceaa4876ad481c47c5ac /tools/virtio | |
parent | 927c145208b04490fb40c5c88a1086b592bfac25 (diff) | |
download | linux-7e84c961b2eb062d2f47037dcca52dcd1d3615b5.tar.gz linux-7e84c961b2eb062d2f47037dcca52dcd1d3615b5.tar.bz2 linux-7e84c961b2eb062d2f47037dcca52dcd1d3615b5.zip |
mtd: ubi: introduce pre-removal notification for UBI volumes
Introduce a new notification type UBI_VOLUME_SHUTDOWN to inform users
that a volume is just about to be removed.
This is needed because users (such as the NVMEM subsystem) expect that
at the time their removal function is called, the parenting device is
still available (for removal of sysfs nodes, for example, in case of
NVMEM which otherwise WARNs on volume removal).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions