diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-05-15 00:11:26 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-05-15 00:48:14 -0700 |
commit | f59fce847fc8483508b5028c24e2b1e00523dd88 (patch) | |
tree | 1701605027713bc535c2c21e7b4792433dc091a3 /drivers/md/bcache/writeback.c | |
parent | fe0a797a6b42d9ad0ed063eaef705da1eb3c8147 (diff) | |
download | blackbird-op-linux-f59fce847fc8483508b5028c24e2b1e00523dd88.tar.gz blackbird-op-linux-f59fce847fc8483508b5028c24e2b1e00523dd88.zip |
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>
Diffstat (limited to 'drivers/md/bcache/writeback.c')
-rw-r--r-- | drivers/md/bcache/writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/writeback.c b/drivers/md/bcache/writeback.c index 93e7e31a4bd3..2714ed3991d1 100644 --- a/drivers/md/bcache/writeback.c +++ b/drivers/md/bcache/writeback.c @@ -375,7 +375,7 @@ err: refill_dirty(cl); } -void bch_writeback_init_cached_dev(struct cached_dev *dc) +void bch_cached_dev_writeback_init(struct cached_dev *dc) { closure_init_unlocked(&dc->writeback); init_rwsem(&dc->writeback_lock); |