|  | 
	|  | 
	|  | 
	| 
		
			| Re: [PATCH 06/14] sysfs: Rewrite sysfs_get_dentry [message #19556 is a reply to message #19549] | Mon, 06 August 2007 15:06  |  
			| 
				
				
					|  Cornelia Huck Messages: 16
 Registered: August 2007
 | Junior Member |  |  |  
	| On Fri, 03 Aug 2007 13:29:19 -0600,
ebiederm@xmission.com (Eric W. Biederman) wrote:
> I currently have two practical solutions on the table.
> 
> - Make the s_sibling list walk RCU safe so it does not require us to
>   grab the sysfs_mutex.  This works but is a bit complicated.
But it would be nice, I guess :)
> 
> - Just kill all of the dentries in sysfs_move_dir and sysfs_rename_dir.
>   The semantics are that no one can be using the device at the time
>   of a rename or a move (as I read the callers) so dropping the dentries
>   and making it look like a delete/add pair to the users should be
>   acceptable and a whole lot simpler.
Hm, I'm not sure I understand you here. What do you mean by "using the
device"? Do you mean dropping the sysfs_dirents? Or am I just confused?
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers |  
	|  |  |