diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2015-12-22 17:25:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 22:43:17 -0800 |
commit | 4c127fd16e6b33ecb7badc091480c84ea9aebeb6 (patch) | |
tree | 6f1d3882b0b6803660b9f89e610e56a04d6c983a /net/rfkill | |
parent | 042d4460b5b4379a12f375045ff9065cf6758735 (diff) | |
download | linux-4c127fd16e6b33ecb7badc091480c84ea9aebeb6.tar.bz2 |
stm class: Fix locking in unbinding policy path
Right now, if stm device removal has to unbind from a policy (that is,
an stm device that has STP policy, gets removed), it will trigger a
nested lock on the stm device's policy mutex.
This patch fixes the problem by moving the locking from the policy
unbinding to policy removal (configfs path), where it's actually needed;
the other caller of the policy unbinding function already takes the
mutex around the call.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions