mbox series

[v2,0/3] fix possible memleak in '__blk_trace_remove'

Message ID 20221018145135.932240-1-yebin@huaweicloud.com (mailing list archive)
Headers show
Series fix possible memleak in '__blk_trace_remove' | expand

Message

Ye Bin Oct. 18, 2022, 2:51 p.m. UTC
diff v2 VS v1:
1. Introduce 'blk_trace_{start,stop}' helper instead of 'blk_trace_switch_state'.
2. Move stop block trace from '__blk_trace_remove' to 'blk_trace_cleanup'.

Ye Bin (3):
  blktrace: introduce 'blk_trace_{start,stop}' helper
  blktrace: fix possible memleak in '__blk_trace_remove'
  blktrace: remove unnessary stop block trace in 'blk_trace_shutdown'

 kernel/trace/blktrace.c | 90 +++++++++++++++++++++--------------------
 1 file changed, 47 insertions(+), 43 deletions(-)