summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ns87410.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2006-11-30 00:33:10 +0100
committerRoland Dreier2006-11-30 00:33:10 +0100
commitf469b2626f48829c06e40ac799c1edf62b12048e (patch)
tree425a3a94af73ed41c7eb28a0ad50d411bc545663 /drivers/ata/pata_ns87410.c
parentIB/cm: Fix automatic path migration support (diff)
downloadkernel-qcow2-linux-f469b2626f48829c06e40ac799c1edf62b12048e.tar.gz
kernel-qcow2-linux-f469b2626f48829c06e40ac799c1edf62b12048e.tar.xz
kernel-qcow2-linux-f469b2626f48829c06e40ac799c1edf62b12048e.zip
IB/ucm: Fix deadlock in cleanup
ib_ucm_cleanup_events() holds file_mutex while calling ib_destroy_cm_id(). This can deadlock since ib_destroy_cm_id() flushes event handlers, and ib_ucm_event_handler() needs file_mutex, too. Therefore, drop the file_mutex during the call to ib_destroy_cm_id(). Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/ata/pata_ns87410.c')
0 files changed, 0 insertions, 0 deletions