lkml.org 
[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Bug 2013] New: Oops from create_dir (sysfs)
From
Date
<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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.249 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site