summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-mutex.h
diff options
context:
space:
mode:
authorJames Bottomley2013-11-15 23:58:00 +0100
committerJames Bottomley2013-12-02 20:13:14 +0100
commita1470c7bf3a4676e62e4c0fb204e339399eb5c59 (patch)
tree5678d07f70cadae7509067b2118a956400d41ff8 /lib/locking-selftest-mutex.h
parent[SCSI] pm80xx: Tasklets synchronization fix. (diff)
downloadkernel-qcow2-linux-a1470c7bf3a4676e62e4c0fb204e339399eb5c59.tar.gz
kernel-qcow2-linux-a1470c7bf3a4676e62e4c0fb204e339399eb5c59.tar.xz
kernel-qcow2-linux-a1470c7bf3a4676e62e4c0fb204e339399eb5c59.zip
[SCSI] enclosure: fix WARN_ON in dual path device removing
Bug report from: wenxiong@linux.vnet.ibm.com The issue is happened in dual controller configuration. We got the sysfs warnings when rmmod the ipr module. enclosure_unregister() in drivers/msic/enclosure.c, call device_unregister() for each componment deivce, device_unregister() ->device_del()->kobject_del() ->sysfs_remove_dir(). In sysfs_remove_dir(), set kobj->sd = NULL. For each componment device, enclosure_component_release()->enclosure_remove_links()->sysfs_remove_link() in which checking kobj->sd again, it has been set as NULL when doing device_unregister. So we saw all these sysfs WARNING. Tested-by: wenxiong@linux.vnet.ibm.com Cc: stable@vger.kernel.org Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'lib/locking-selftest-mutex.h')
0 files changed, 0 insertions, 0 deletions