lkml.org 
[lkml]   [2007]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.22.14 oops msg with commvault galaxy ?
On Thu, Dec 13, 2007 at 01:55:09PM +0100, Ingo Molnar wrote:
>
> * Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:
>
> > Could you please see if the following patch removes the oops due to
> > CFS sysfs files? (There might still be the other oops due to the
> > floppy sysfs files)
> >
> > Ingo, could you please add this patch in your CFS backport to 2.6.22
> > and older kernels?
>
> sure - i've updated the backport patches with this fix.
>

Thanks!

> > static void user_attr_init(struct subsys_attribute *sa, char *name, int mode)
> > {
> > + sa->attr.owner = NULL;
> > sa->attr.name = name;
>
> i'm wondering why doesnt this affect 2.6.23 and later? Does sysfs
> initialize the owner field to NULL automatically?
>

Going through git log, it seems that commit
7b595756ec1f49e0049a9e01a1298d53a7faaa15 deemed attribute->owner as
unnecessary. I guess that answers the question.

--
regards,
Dhaval


\
 
 \ /
  Last update: 2007-12-13 14:05    [W:0.156 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site