On Tue, Aug 07, 2007 at 03:14:56PM -0600, Eric W. Biederman wrote: > > Currently we find the dentry to drop by looking at sd->s_dentry. > We can just as easily accomplish the same task by looking up the > sysfs inode and finding all of the dentries from there, with the > added bonus that we don't need to play with the sysfs_assoc_lock. > > Signed-off-by: Eric W. Biederman <[email protected]> Great, Acked-by: Tejun Heo <[email protected]> -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 5/5] sysfs: make sysfs_addrm_finish() return void
- From: Tejun Heo <[email protected]>
- [PATCH 0/25] Sysfs cleanups & tagged directory support
- From: [email protected] (Eric W. Biederman)
- [PATCH 01/25] sysfs: Move all of inode initialization into sysfs_init_inode
- From: [email protected] (Eric W. Biederman)
- [PATCH 02/25] sysfs: Remove sysfs_instantiate
- From: [email protected] (Eric W. Biederman)
- [PATCH 03/25] sysfs: Use kill_anon_super
- From: [email protected] (Eric W. Biederman)
- [PATCH 04/25] sysfs: Make sysfs_mount static
- From: [email protected] (Eric W. Biederman)
- [PATCH 05/25] sysfs: In sysfs_lookup don't open code sysfs_find_dirent
- From: [email protected] (Eric W. Biederman)
- [PATCH 06/25] sysfs: Simplify readdir.
- From: [email protected] (Eric W. Biederman)
- [PATCH 07/25] sysfs: Rewrite sysfs_drop_dentry.
- From: [email protected] (Eric W. Biederman)
- [PATCH 5/5] sysfs: make sysfs_addrm_finish() return void
- Prev by Date: Re: 2.6.20->2.6.21 - networking dies after random time
- Next by Date: Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK
- Previous by thread: Re: [PATCH 08/25] sysfs: Implement __sysfs_get_dentry
- Next by thread: Re: [PATCH 06/25] sysfs: Simplify readdir.
- Index(es):