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

Richard Weinberger richard at nod.at
Sat Jan 14 10:34:02 EST 2012


Am 14.01.2012 16:11, schrieb Artem Bityutskiy:
> 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.
> 

Sorry, this comment makes absolutely no sense.

Did you mean my other patch?
But still, the other patch also does *not* allow volumes without names.

Confused,
//richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120114/bba32885/attachment.sig>


More information about the linux-mtd mailing list