diff options
author | Eric W. Biederman <ebiederm@maxwell.aristanetworks.com> | 2009-11-21 01:08:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 20:24:54 +0100 |
commit | a16bbc3430ed94b543222f4c8ef68025f8493e93 (patch) | |
tree | e866babd9a5ab024bcd68a9f935c4b373b1e8ac7 /fs/sysfs/sysfs.h | |
parent | sysfs: In sysfs_chmod_file lazily propagate the mode change. (diff) | |
download | linux-a16bbc3430ed94b543222f4c8ef68025f8493e93.tar.xz linux-a16bbc3430ed94b543222f4c8ef68025f8493e93.zip |
sysfs: Gut sysfs_addrm_start and sysfs_addrm_finish
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.
Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r-- | fs/sysfs/sysfs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index 12ccc07459d8..90b35012abb2 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h @@ -89,9 +89,7 @@ static inline unsigned int sysfs_type(struct sysfs_dirent *sd) */ struct sysfs_addrm_cxt { struct sysfs_dirent *parent_sd; - struct inode *parent_inode; struct sysfs_dirent *removed; - int cnt; }; /* |