[PATCH 09/14] sysfs: Move all of sysfs_move_dir under
teheo at suse.de
Tue Jul 31 04:09:12 PDT 2007
Eric W. Biederman wrote:
> This patch modifies sysfs_move_dir to perform all of it's
> operations under the sysfs_mutex. By looking for conflicts
> using sysfs_find_dirent we accidentally moving something
> onto a name that already exists but just not in the dcache
> right now.
> Two s_dentry usages are killed.
> And it has probably become unnecessary to grab i_mutex at
> all but I'm not brave enough to do that just yet.
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
Acked-by: Tejun Heo <htejun at gmail.com>
More information about the Containers