d09387b4f74b4c2f23b1d04943baa0c7b11 parent 7eb3aa65853e1b223bfc786b023b702018cb76c0 author Josselin Costanzi 1329925025 +0100 committer Artem Bityutskiy 1331278771 +0200 UBI: reduce memory consumption Remove the pre-allocated 'peb_buf2' buffer because we do not really need it. The only reason UBI has it is to check that the data were written correctly. But we do not have to have 2 buffers for this and waste RAM - we can just compare CRC checksums instead. This reduces UBI memory consumption. Artem bityutskiy: massaged the patch and commit message Signed-off-by: Josselin Costanzi Signed-off-by: Artem Bityutskiy …–