aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJoe Eykholt <[email protected]>2010-08-05 17:50:37 -0700
committerJames Bottomley <[email protected]>2010-08-11 00:55:42 -0400
commit3deee42088ddcf5b23021aa089b53444797e565d (patch)
tree7b4fbd6d608eb8a677b745a8bf36b5540751a7f3 /tools/perf/util/trace-event-scripting.c
parent081f4f4c1ae9915398b3f8ffc9307e5adaf62989 (diff)
[SCSI] tgt: fix warning
Using scsi_tgt_lib in a new target module, we were getting the following warning and a stack traceback on every I/O completion: WARNING: at block/blk-core.c:1108 Which is claiming we may be leaking a bio. We don't leak bios (blk_rq_unmap_user should free them). Set rq->bio to NULL before calling scsi_host_put_command(). This was as advised by Fujita Tomonori. Signed-off-by: Joe Eykholt <[email protected]> Acked-by: FUJITA Tomonori <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions