[PATCH] ubi: Use UBI_LAYOUT_VOLUME_{TYPE, ALIGN}

Artem Bityutskiy dedekind1 at gmail.com
Sat Jan 14 10:11:06 EST 2012


On Tue, 2012-01-10 at 17:57 +0100, Richard Weinberger wrote:
> UBI_LAYOUT_VOLUME_TYPE and UBI_LAYOUT_VOLUME_ALIGN are currently
> defined but not used.
> Use them at least once. 8-)
> 
> Signed-off-by: Richard Weinberger <richard at nod.at>

Hi Richard,

This will break backward compatibility - older and current kernels which
do not have this patch will error out when the find a volume without a
name. The right way to do this would be to change the UBI format
version, but you would need a really strong reason for this.

-- 
Best Regards,
Artem Bityutskiy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120114/0a6188c1/attachment.sig>


More information about the linux-mtd mailing list