lkml.org 
[lkml]   [2003]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] efivars update

> > That patch is below. I'll be sending it to Linus once he gets back from
> > vacation, unless anyone has any serious objections to it. Note that it
> > completely removes any limitation on the length of a kobject (and sysfs
> > directory) name.
>
> Why keep another copy of the name? Why not use kobj->dentry->qstr->name?

The problem is defining it. The dentry is not allocated until the kobject
is registered, and we call through to sysfs. That's not so much a problem,
but we'd have to pass the name along with the object down to sysfs in
order to create the dentry, which would be a bit messy, IMO.


Pat

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

> > That patch is below. I'll be sending it to Linus once he gets back from
> > vacation, unless anyone has any serious objections to it. Note that it
> > completely removes any limitation on the length of a kobject (and sysfs
> > directory) name.
>
> Why keep another copy of the name? Why not use kobj->dentry->qstr->name?

The problem is defining it. The dentry is not allocated until the kobject
is registered, and we call through to sysfs. That's not so much a problem,
but we'd have to pass the name along with the object down to sysfs in
order to create the dentry, which would be a bit messy, IMO.


Pat

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.035 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site