diff options
author | Slava Pestov <sp@daterainc.com> | 2014-05-22 15:14:24 -0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-08-04 18:23:03 -0400 |
commit | 60ae81eee86dd7a520db8c1e3d702b49fc0418b5 (patch) | |
tree | a9919f11951c3e96ad49db0b50c3964232f5f1b7 /drivers | |
parent | 8e0948080670f6330229718b15a6a1a011d441ce (diff) |
bcache: bcache_write tracepoint was crashing
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/bcache/request.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c index 15fff4f68a7c..62e6e98186b5 100644 --- a/drivers/md/bcache/request.c +++ b/drivers/md/bcache/request.c | |||
@@ -311,7 +311,8 @@ void bch_data_insert(struct closure *cl) | |||
311 | { | 311 | { |
312 | struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); | 312 | struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); |
313 | 313 | ||
314 | trace_bcache_write(op->bio, op->writeback, op->bypass); | 314 | trace_bcache_write(op->c, op->inode, op->bio, |
315 | op->writeback, op->bypass); | ||
315 | 316 | ||
316 | bch_keylist_init(&op->insert_keys); | 317 | bch_keylist_init(&op->insert_keys); |
317 | bio_get(op->bio); | 318 | bio_get(op->bio); |