aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/btree.h
diff options
context:
space:
mode:
authorSlava Pestov <sp@daterainc.com>2014-06-19 15:05:59 -0700
committerKent Overstreet <kmo@daterainc.com>2014-08-04 15:23:04 -0700
commitc9a78332b42cbdcdd386a95192a716b67d1711a4 (patch)
tree425e035b57317fa9730d717352cee12ab2c8bccd /drivers/md/bcache/btree.h
parentbcache: fix crash with incomplete cache set (diff)
downloadlinux-dev-c9a78332b42cbdcdd386a95192a716b67d1711a4.tar.xz
linux-dev-c9a78332b42cbdcdd386a95192a716b67d1711a4.zip
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
Diffstat (limited to 'drivers/md/bcache/btree.h')
0 files changed, 0 insertions, 0 deletions