On Tue, Aug 07, 2007 at 03:29:23PM -0600, Eric W. Biederman wrote: > > In preparation for multiple mounts of sysfs add a superblock parameter to > sysfs_get_dentry. > > Signed-off-by: Eric W. Biederman <[email protected]> > @@ -827,7 +829,7 @@ struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd) > */ > dentry = NULL; > cur = sd; > - while (!(dentry = __sysfs_get_dentry(sysfs_sb, cur))) { > + while (!(dentry = __sysfs_get_dentry(sb, cur))) { It's probably better to add @sb to __sysfs_get_dentry() here too. That will make things look clearer. Thanks. -- 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/
- Follow-Ups:
- Re: [PATCH 19/25] sysfs: sysfs_get_dentry add a sb parameter
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH 19/25] sysfs: sysfs_get_dentry add a sb parameter
- References:
- [PATCH 10/25] sysfs: Rewrite sysfs_get_dentry in terms of __sysfs_get_dentry
- From: [email protected] (Eric W. Biederman)
- [PATCH 11/25] sysfs: Remove s_dentry
- From: [email protected] (Eric W. Biederman)
- [PATCH 12/25] sysfs: Introduce sysfs_rename_mutex
- From: [email protected] (Eric W. Biederman)
- [PATCH 13/25] sysfs: Simply sysfs_get_dentry
- From: [email protected] (Eric W. Biederman)
- [PATCH 14/25] sysfs: Don't use lookup_one_len_kern
- From: [email protected] (Eric W. Biederman)
- [PATCH 15/25] vfs: Remove lookup_one_len_kern
- From: [email protected] (Eric W. Biederman)
- [PATCH 16/25] sysfs: Support for preventing unmounts.
- From: [email protected] (Eric W. Biederman)
- [PATCH 17/25] sysfs: Rewrite rename in terms of sysfs dirents
- From: [email protected] (Eric W. Biederman)
- [PATCH 18/25] sysfs: Rewrite sysfs_move_dir in terms of sysfs dirents
- From: [email protected] (Eric W. Biederman)
- [PATCH 19/25] sysfs: sysfs_get_dentry add a sb parameter
- From: [email protected] (Eric W. Biederman)
- [PATCH 10/25] sysfs: Rewrite sysfs_get_dentry in terms of __sysfs_get_dentry
- Prev by Date: Re: [PATCH 0/25] Sysfs cleanups & tagged directory support
- Next by Date: Re: 2.6.20->2.6.21 - networking dies after random time
- Previous by thread: Re: [PATCH 20/25] sysfs: Rename Support multiple superblocks
- Next by thread: Re: [PATCH 19/25] sysfs: sysfs_get_dentry add a sb parameter
- Index(es):