Matthew Wilcox <willy@xxxxxxxxxxxxx> writes: > On Sat, Jun 06, 2020 at 02:20:36PM -0500, Eric W. Biederman wrote: >> @@ -39,7 +37,6 @@ static kernel_cap_t usermodehelper_inheritable = CAP_FULL_SET; >> static DEFINE_SPINLOCK(umh_sysctl_lock); >> static DECLARE_RWSEM(umhelper_sem); >> static LIST_HEAD(umh_list); >> -static DEFINE_MUTEX(umh_list_lock); > > You can delete the umh_list too; you've deleted all its users. Good catch, thank you. Eric