[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 08 Aug 2007 09:34:27 -0600
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Tejun Heo <htejun@...il.com>
Cc: Greg KH <greg@...ah.com>, linux-kernel@...r.kernel.org,
satyam@...radead.org, cornelia.huck@...ibm.com,
stern@...land.harvard.edu,
Linux Containers <containers@...ts.osdl.org>, gregkh@...e.de
Subject: Re: [PATCH 19/25] sysfs: sysfs_get_dentry add a sb parameter
Tejun Heo <htejun@...il.com> writes:
> 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 <ebiederm@...ssion.com>
>> @@ -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.
A little.
I just wanted to be certain I was testing the final __sysfs_get_dentry
logic as soon as I could.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists