[PATCH 02/14] sysfs: In sysfs_lookup protect s_parent with
teheo at suse.de
Tue Jul 31 03:36:39 PDT 2007
Eric W. Biederman wrote:
> It turns out we have been being silly and have failed to
> protect ourselves against races between sysfs_lookup
> and operations that modify the sysfs directory like sysfs_readdir
> and create_dir.
> So this patch modifies sysfs_lookup to grab sysfs_mutex before
> walking the parent->s_children list.
Updated portion of #01 and #02 are identical to the cleanup patches I
just posted. :-)
More information about the Containers