mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] ifdef blktrace debugging fields
Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3d5b6fccc4
commit
6c5c934153
5 changed files with 11 additions and 7 deletions
|
|
@ -450,8 +450,10 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg)
|
|||
**/
|
||||
void blk_trace_shutdown(request_queue_t *q)
|
||||
{
|
||||
blk_trace_startstop(q, 0);
|
||||
blk_trace_remove(q);
|
||||
if (q->blk_trace) {
|
||||
blk_trace_startstop(q, 0);
|
||||
blk_trace_remove(q);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue