aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Alexander Shishkin <alexander.shishkin@linux.intel.com> 2016-02-15 19:12:05 +0200
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2016-02-20 14:09:14 -0800
commit1810f2c44817c74ca3d05d1e3981e3a2e2ceb6f5 (patch)
tree49c258a9277cfaa54a76e4992ade8fcd4c191b56 /virt
parentstm class: Add heartbeat stm source device (diff)
downloadlinux-1810f2c44817c74ca3d05d1e3981e3a2e2ceb6f5.tar.gz
linux-1810f2c44817c74ca3d05d1e3981e3a2e2ceb6f5.tar.bz2
linux-1810f2c44817c74ca3d05d1e3981e3a2e2ceb6f5.zip
stm class: Fix unlocking braino in the error path
If an illegal attempt is made to unlink stm source device from an stm device, the stm device's link spinlock mistakenly remains locked. While this really shouldn't happen (there's a warning in place), the locking should remain in order so that we can still recover from this situation if it indeed does happen. This patch unifies the unlocking in the exit path of __stm_source_link_drop() to fix this. Reported-by: Laurent Fert <laurent.fert@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions