Messages in this thread | | | Date | Tue, 3 Oct 2017 17:07:09 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/2] security/apparmor: Replace homebrew use of write_can_lock with lockdep |
| |
On Tue, Oct 03, 2017 at 03:32:45PM +0100, Will Deacon wrote: > The lockdep subsystem provides a robust way to assert that a lock is > held, so use that instead of write_can_lock, which can give incorrect > results for qrwlocks. > > Cc: John Johansen <john.johansen@canonical.com> > Cc: Peter Zijlstra <peterz@infradead.org> > Signed-off-by: Will Deacon <will.deacon@arm.com>
Thanks Will, good to be able to finally remove that API.
| |