[PATCH 08/14] sysfs: Perform renames under sysfs_mutex
teheo at suse.de
Tue Jul 31 04:06:09 PDT 2007
Eric W. Biederman wrote:
> This modifies sysfs_rename_dir to use sysfs_addrm_start/sysfs_addrm_finish
> making it more like the rest of the sysfs directory manipulation functions.
> This moves the entire rename operation inside of sysfs_mutex removing
> the need to grab i_mutex, and incidentally this kills one s_dentry use.
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
Acked-by: Tejun Heo <htejun at gmail.com>
More information about the Containers