On Mon, 09 Jul 2012 18:51:37 -0700 ebied...@xmission.com (Eric W. Biederman)
wrote:
> Andrew Morton writes:
>
> > On Mon, 09 Jul 2012 17:30:48 -0700 ebied...@xmission.com (Eric W.
> > Biederman) wrote:
> >
> >> Andrew Morton writes:
> >>
> >> >> {
> >> >> struct sysfs_dirent *sd;
>
Andrew Morton writes:
> On Mon, 09 Jul 2012 17:30:48 -0700 ebied...@xmission.com (Eric W. Biederman)
> wrote:
>
>> Andrew Morton writes:
>>
>> >> {
>> >> struct sysfs_dirent *sd;
>> >> int is_dir;
>> >> + int type;
>> >>
>> >> if (nd->flags & LOOKUP_RCU)
>> >> return -ECHILD
On Mon, 09 Jul 2012 17:30:48 -0700 ebied...@xmission.com (Eric W. Biederman)
wrote:
> Andrew Morton writes:
>
> >> {
> >>struct sysfs_dirent *sd;
> >>int is_dir;
> >> + int type;
> >>
> >>if (nd->flags & LOOKUP_RCU)
> >>return -ECHILD;
> >> @@ -326,6 +327,13 @@ stati
Andrew Morton writes:
>> {
>> struct sysfs_dirent *sd;
>> int is_dir;
>> +int type;
>>
>> if (nd->flags & LOOKUP_RCU)
>> return -ECHILD;
>> @@ -326,6 +327,13 @@ static int sysfs_dentry_revalidate(struct dentry
>> *dentry, struct nameidata *nd)
>> if (strcm
Quoting Andrew Morton (a...@linux-foundation.org):
> On Fri, 6 Jul 2012 13:09:07 +0400
> Glauber Costa wrote:
>
> > When we change the namespace tag of a sysfs entry, the associated dentry
> > is still kept around. readdir() will work correctly and not display the
> > old entries, but open() wil
On Fri, 6 Jul 2012 13:09:07 +0400
Glauber Costa wrote:
> When we change the namespace tag of a sysfs entry, the associated dentry
> is still kept around. readdir() will work correctly and not display the
> old entries, but open() will still succeed, so will reads and writes.
>
> This will no lo
6 matches
Mail list logo