commit | c9a78332b42cbdcdd386a95192a716b67d1711a4 | [log] [tgz] |
---|---|---|
author | Slava Pestov <sp@daterainc.com> | Thu Jun 19 15:05:59 2014 -0700 |
committer | Kent Overstreet <kmo@daterainc.com> | Mon Aug 04 15:23:04 2014 -0700 |
tree | 425e035b57317fa9730d717352cee12ab2c8bccd | |
parent | bf0c55c986540483c34ca640f2eef4c3314388b1 [diff] |
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