Re: [libsas PATCH v12 04/11] sysfs: handle 'parent deleted before child added'
From: Williams, Dan J <hidden>
Date: 2012-03-22 23:11:19
Also in:
linux-scsi
From: Williams, Dan J <hidden>
Date: 2012-03-22 23:11:19
Also in:
linux-scsi
On Thu, Mar 22, 2012 at 3:51 PM, Stefan Richter [off-list ref] wrote:
Isn't this something which is to be accomplished by counting references to the parent device?
As I mentioned to James [1] the reference count keeps the parent from being kfree()'d but not device_del()'d where kobj->sd gets sets to NULL. -- Dan [1]: http://marc.info/?l=linux-scsi&m=133243414518064&w=2