bcache: Fix error handling in init code
authorKent Overstreet <koverstreet@google.com>
Wed, 15 May 2013 07:11:26 +0000 (00:11 -0700)
committerKent Overstreet <koverstreet@google.com>
Wed, 15 May 2013 07:48:14 +0000 (00:48 -0700)
commitf59fce847fc8483508b5028c24e2b1e00523dd88
tree1701605027713bc535c2c21e7b4792433dc091a3
parentfe0a797a6b42d9ad0ed063eaef705da1eb3c8147
bcache: Fix error handling in init code

This code appears to have rotted... fix various bugs and do some
refactoring.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
drivers/md/bcache/bcache.h
drivers/md/bcache/stats.c
drivers/md/bcache/super.c
drivers/md/bcache/writeback.c