[PATCH 2/4] sysfs: Implement sysfs manged shadow
Eric W. Biederman
ebiederm at xmission.com
Mon Jul 30 20:24:03 PDT 2007
Ugh. I need to step back and carefully define what I'm seeing but it
looks like the current sysfs locking is wrong.
I'm starting to find little inconsistencies all over the place
Which lock actually protects sd->s_children?
- It isn't sysfs_mutex. (see sysfs_lookup)
- It isn't inode->i_mutex (we only get it if we happen to have the inode
At first glance sysfs_assoc_lock looks just as bad.
More information about the Containers