bcache: bcache_write tracepoint was crashing
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
This commit is contained in:

committed by
Kent Overstreet

parent
8e09480806
commit
60ae81eee8
@@ -311,7 +311,8 @@ void bch_data_insert(struct closure *cl)
|
||||
{
|
||||
struct data_insert_op *op = container_of(cl, struct data_insert_op, cl);
|
||||
|
||||
trace_bcache_write(op->bio, op->writeback, op->bypass);
|
||||
trace_bcache_write(op->c, op->inode, op->bio,
|
||||
op->writeback, op->bypass);
|
||||
|
||||
bch_keylist_init(&op->insert_keys);
|
||||
bio_get(op->bio);
|
||||
|
Reference in New Issue
Block a user