commit | 2ffa5a5cd2fe792b6399c903d5172adf088d8ff7 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Sat Jun 07 12:10:36 2014 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Sat Jun 21 22:05:30 2014 +0200 |
tree | b73baebd96860c39bda9cd8dd91b01bae2e06770 | |
parent | 358c331f391f3e0432f4f96f25017d12ac8d10b1 [diff] |
rtmutex: No need to keep task ref for lock owner check There is no point to keep the task ref across the check for lock owner. Drop the ref before that, so the protection context is clear. Found while documenting the chain walk. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Steven Rostedt <rostedt@goodmis.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>