[PATCH 0/3] ubifs: add lz4hc compression

Artem Bityutskiy dedekind1 at gmail.com
Tue Feb 28 02:17:05 PST 2017


On Tue, 2017-02-28 at 14:16 +0900, Hyunchul Lee wrote:
> Another compression type cannot be added any more in respect that
> type of
> ubifs_inode's compr_type is "unsigned:2" and there are 4 compression
> types.  There may be overflow in assignment to compr_type, and
> prevision 
> version of ubifs is trying to decompress file with wrong compression
> type.

But this is just an in-memory inode structure, and you can change it,
just increase the size of 'compr_type'.



More information about the linux-mtd mailing list