-
David Oberhollenzer authored
Currently, the function truncate_data_node only updates the destination data node size if compression is used. For uncompressed nodes, the old length is incorrectly retained. This patch makes sure that the length is correctly set when compression is disabled. Fixes: 7799953b ("ubifs: Implement encrypt/decrypt for all IO") Signed-off-by:
David Oberhollenzer <david.oberhollenzer@sigma-star.at> Signed-off-by:
Richard Weinberger <richard@nod.at>
59a74990