Re: [PATCH 1/1] enclosure: fix WARN_ON in dual path device removing

2013-11-19 Thread wenxiong
Quoting James Bottomley : On Fri, 2013-11-15 at 10:46 -0600, wenxi...@linux.vnet.ibm.com wrote: 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 co

Re: [PATCH 1/1] enclosure: fix WARN_ON in dual path device removing

2013-11-15 Thread James Bottomley
On Fri, 2013-11-15 at 10:46 -0600, wenxi...@linux.vnet.ibm.com wrote: > 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, devi

[PATCH 1/1] enclosure: fix WARN_ON in dual path device removing

2013-11-15 Thread wenxiong
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_rem