lkml.org 
[lkml]   [2009]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/20] sysfs: Kill sysfs_addrm_start and sysfs_addrm_finish
Eric W. Biederman wrote:
> From: Eric W. Biederman <ebiederm@xmission.com>
>
> With lazy inode updates and dentry operations bringing everything
> into sync on demand there is no longer any need to immediately
> update the vfs or grab i_mutex to protect those updates as we
> make changes to sysfs.
>
> So stop updating the vfs inodes and move what remains of
> sysfs_addrm_start and sysfs_addrm_finsih (just barely more than taking
> the sysfs_mutex) into sysfs_add_one and sysfs_remove_one.
>
> Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>

This looks so better than the original code. :-)

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

--
tejun


\
 
 \ /
  Last update: 2009-05-21 11:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site