]> git.dujemihanovic.xyz Git - u-boot.git/commit
ubi: Ensure no fastmap flush after uif_close
authorMartin Townsend <mtownsend1973@gmail.com>
Thu, 18 Jan 2018 08:07:33 +0000 (08:07 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 6 Feb 2018 06:05:57 +0000 (07:05 +0100)
commit2d2d306f79e5ae090790fd380662f5407ccace11
tree6668b37546711ae6457081fe599e442662147537
parenta43aebee89acf57b4e22018f401cffc9fef4fd85
ubi: Ensure no fastmap flush after uif_close

On detach UBI attempts to update fastmap after closing user interfaces
but at this point UBI volumes have already been free()'ed and fastmap
can no longer access these data structures.

Signed-off-by: Martin Townsend <mtownsend1973@gmail.com>
Cc: hs@denx.de
Cc: kmpark@infradead.org
Cc: richard@sigma-star.at
drivers/mtd/ubi/fastmap-wl.c