Re: [PATCH -next v2 2/2] md/raid5-cache: fix null-ptr-deref in r5l_reclaim_thread()
From: Yu Kuai
Date: Fri Jul 07 2023 - 05:19:22 EST
Hi,
在 2023/07/07 17:16, Yu Kuai 写道:
Perhaps you means this order?
r5l_exit_log
flush_work(&log->disable_writeback_work)
conf->log = NULL
md_unregister_thread(&log->reclaim_thread)
I think this is better indeed.
Never mind, this is wrong, I got confused...
Please ignore this and take a look at my original fix.
Thanks,
Kuai