mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
bcache: bcache_write tracepoint was crashing
Signed-off-by: Kent Overstreet <[email protected]>
This commit is contained in:
parent
8e09480806
commit
60ae81eee8
2 changed files with 11 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue