On Fri, Apr 06, 2018 at 10:55:03PM +0900, Tetsuo Handa wrote: > Peter Zijlstra wrote: > > On Fri, Apr 06, 2018 at 09:04:18PM +0900, Tetsuo Handa wrote: > > > + /* Temporary hack for handling lock imbalance. */ > > > + if (__mutex_owner(&lo->lo_ctl_mutex) == current) > > > + mutex_unlock(&lo->lo_ctl_mutex); > > > > ARGGH.. you didn't read the comment we put on that? > > > > Commit 5b52330bbfe63b33 ("audit: fix auditd/kernel connection state tracking") > is using __mutex_owner(). ;-)
That got removed and the warning added.