Re: [Bug 2013] New: Oops from create_dir (sysfs)

From: John Rose
Date: Wed Feb 04 2004 - 16:49:56 EST


<crickets chirp>. That's one way to shut me up :)

In all seriousness, how much of a performance problem would be posed by
throwing a kset_find_obj() check somewhere in the beginning of
kobject_add()?

Thanks-
John

On Wed, 2004-02-04 at 15:22, Greg KH wrote:
> On Wed, Feb 04, 2004 at 02:54:32PM -0600, John Rose wrote:
> > > The kobject code quickly pointed out the flaw in your code.
> >
> > That it did, but an "already exists" return code from kobject_add would
> > have pointed it out more quickly :)
>
> Patches are always gladly accepted :)
>
> thanks,
>
> greg k-h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/