Skip to content
Commit f1f52d6b authored by Richard Weinberger's avatar Richard Weinberger
Browse files

ubifs: Introduce new data node field, compr_size



When data of a data node is compressed and encrypted
we need to store the size of the compressed data because
before encryption we may have to add padding bytes.

For the new field we consume the last two padding bytes
in struct ubifs_data_node. Two bytes are fine because
the data length is at most 4096.

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 959c2de2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment