From: Colin Cross Date: Fri, 13 Dec 2013 22:24:46 +0000 (-0800) Subject: ion: chunk_heap: fix leak in allocated counter X-Git-Tag: v3.14-rc1~150^2~405 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea89faff84e35c7a5b386f158b5aec0c6327441c;p=pandora-kernel.git ion: chunk_heap: fix leak in allocated counter buffer->size is controlled by the outer ion layer, don't modify it inside the heap. Instead, compute the rounded up allocated size on demand. Signed-off-by: Colin Cross [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed