bcache: Do bkey_put() in btree_split() error path
authorKent Overstreet <kmo@daterainc.com>
Tue, 17 Dec 2013 00:38:49 +0000 (16:38 -0800)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:09 +0000 (13:05 -0800)
commit5f5837d2d650db25b9153b91535e67a96b265f58
tree48afdf71783484950632a95972cad6e9608332c7
parent78365411b344df35a198b119133e6515c2dcfb9f
bcache: Do bkey_put() in btree_split() error path

This error path shouldn't have been hit in practice.. and we've got reworked
reserve code coming soon so that it shouldn't _ever_ be bit... but if we've got
code for this error path it should be correct.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c