bcache: Kill op->cl

This isn't used for waiting asynchronously anymore - so this is a fairly
trivial refactoring.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
This commit is contained in:
Kent Overstreet
2013-07-24 18:04:18 -07:00
والد c18536a72d
کامیت b54d6934da
8فایلهای تغییر یافته به همراه63 افزوده شده و 81 حذف شده

مشاهده پرونده

@@ -108,8 +108,8 @@ static void write_moving(struct closure *cl)
s->op.type = BTREE_REPLACE;
bkey_copy(&s->op.replace, &io->w->key);
closure_init(&s->op.cl, cl);
bch_data_insert(&s->op.cl);
closure_init(&s->btree, cl);
bch_data_insert(&s->btree);
}
continue_at(cl, write_moving_finish, system_wq);