ubi: Add truncate callback
The size of static ubi volumes changes depending on the content.
Add truncate callback to handle resizes.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a6785ba commit 55513dcec567c760fad4daadb3805983a3626d27
@Teresa Remmet Teresa Remmet authored on 25 Nov 2016
Sascha Hauer committed on 11 Jan 2017
Showing 1 changed file
View
drivers/mtd/ubi/barebox.c