diff options
author | Eric W. Biederman <ebiederm@maxwell.aristanetworks.com> | 2009-11-20 16:08:55 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 11:24:54 -0800 |
commit | a16bbc3430ed94b543222f4c8ef68025f8493e93 (patch) | |
tree | e866babd9a5ab024bcd68a9f935c4b373b1e8ac7 /fs/sysfs/sysfs.h | |
parent | 06fc0d66f7ed3a3b08e8fcf8c325ecf0b8f93fea (diff) | |
download | linux-a16bbc3430ed94b543222f4c8ef68025f8493e93.tar.gz linux-a16bbc3430ed94b543222f4c8ef68025f8493e93.tar.bz2 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; }; /* |