lkml.org 
[lkml]   [2005]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OOPS] sysfs_hash_and_remove (was Re: What protection ....)

* Maneesh Soni <maneesh@in.ibm.com> wrote:

> So, IMO, it is necessary to explicitly remove links before
> unregistering the kobject in case of bidirectional cross symlinks.
>
> The patch from James, is working, because it is not creating the cross
> symlink itself.

so, what is your suggestion, what should be done to fix the problem? The
patch below:

> > + /*
> > sysfs_create_link(&class_dev->dev->kobj, &class_dev->kobj,
> > class_name);
> > + */

> > + /*
> > sysfs_remove_link(&class_dev->dev->kobj, class_name);
> > + */

isnt fit for upstream inclusion :-)

Ingo
-
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-11-24 15:37    [W:0.233 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site