Skip to content

Commit

Permalink
blktrace: add missing probe argument to block_bio_complete
Browse files Browse the repository at this point in the history
blktrace.c block bio complete callback needs to gain a new argument to reflect
the newly added "error" tracepoint argument. This is needed to match the new
block_bio_complete TRACE_EVENT as of
commit de983a7bfcb7c020901ca6e2314cf55a4207ab5a.

Signed-off-by: Mathieu Desnoyers <[email protected]>
CC: Jeff Moyer <[email protected]>
CC: Steven Rostedt <[email protected]>
CC: Frederic Weisbecker <[email protected]>
CC: Ingo Molnar <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Li Zefan <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
compudj authored and Jens Axboe committed Jan 7, 2011
1 parent 329a678 commit 23036f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/trace/blktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,8 @@ static void blk_add_trace_bio_bounce(void *ignore,
}

static void blk_add_trace_bio_complete(void *ignore,
struct request_queue *q, struct bio *bio)
struct request_queue *q, struct bio *bio,
int error)
{
blk_add_trace_bio(q, bio, BLK_TA_COMPLETE);
}
Expand Down

0 comments on commit 23036f1

Please sign in to comment.