Messages in this thread | | | Subject | Re: [PATCH -next 2/3] blktrace: fix possible memleak in '__blk_trace_remove' | From | Yu Kuai <> | Date | Tue, 18 Oct 2022 15:38:01 +0800 |
| |
Hi,
在 2022/10/17 14:53, Ye Bin 写道: > To solve above issues, reference commit '5afedf670caf', first stop block trace > when block trace state is 'Blktrace_running' in '__blk_trace_remove'.
Will it be much simpler if we just return -EBUSY in blk_trace_remove if state is still running?
And similar checking in blk_trace_setup.
Thanks, Kuai
| |