UBIFS: clean up LEB recovery function