Re: [PATCH 10/20] sysfs: Fix locking and factor out sysfs_sd_setattr

Tejun Heo
2009-05-21T07:42:32Z

Eric W. Biederman wrote:
> From: Eric W. Biederman <ebiederm@xmission.com>
>
> Cleanly separate the work that is specific to setting the
> attributes of a sysfs_dirent from what is needed to update
> the attributes of a vfs inode.
>
> Additionally grab the sysfs_mutex to keep any nasties from
> surprising us when updating the sysfs_dirent.
>
> Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>

Acked-by: Tejun Heo <tj@kernel.org>

--
tejun