]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: fix mutex_owned() implementation
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 22 Oct 2013 09:24:09 +0000 (05:24 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:22 +0000 (15:29 +0100)
commit0f54b36ff4c5ba6b819c835c437617387cd91d66
tree9e93f563210adb37bf25116dc7fd17f07a143bf0
parenta3e9a59bf86afe0126b9d73bdd93264c83397af1
dtrace: fix mutex_owned() implementation

The mutex_owned() function was not accounting for the possibility that a lock
might have an owner registered while unlocked.

Orabug: 17624236

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
include/linux/mutex.h