Re: [PATCH] add transport class symlink to device object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-08-13 at 18:36 -0500, James Bottomley wrote:
> And the reason why yours crashes and James' doesn't is the kobject_name
> ().  Kobject names aren't valid until the object is visible, which is
> long after the class is created in the SCSI case.  The actual panic is
> in removal on a NULL kobject name.
> 
> So, perhaps James' might be the patch you'd prefer to your current one?

OK, should have engaged test apparatus before putting mouth in gear.
Both of these patches fail in the same way.  I'm sure the key is object
visibility.  In the failure case, the object is created, has classes
added and is destroyed without being made visible.

I'll look into it.

James


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux