UBIFS: fix mounting problems after power cuts