From: Slava Pestov Date: Thu, 19 Jun 2014 22:05:59 +0000 (-0700) Subject: bcache: fix memory corruption in init error path X-Git-Tag: cleanup-for-v3.18~33^2^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9a78332b42cbdcdd386a95192a716b67d1711a4;p=pandora-kernel.git bcache: fix memory corruption in init error path If register_cache_set() failed, we would touch ca->set after it had already been freed. Also, fix an assertion to catch this. Change-Id: I748e5f5b223e2d9b2602075dec2f997cced2394d --- Reading git-diff-tree failed