xfs
[Top] [All Lists]

Re: [Bug 283] kernel-source-2.4.20-20.9.XFS1.3.1.i386.rpm fails to compi

To: Mihai RUSU <dizzy@xxxxxxxxx>
Subject: Re: [Bug 283] kernel-source-2.4.20-20.9.XFS1.3.1.i386.rpm fails to compile
From: Keith Owens <kaos@xxxxxxx>
Date: Tue, 28 Oct 2003 22:35:05 +1100
Cc: xfs-master@xxxxxxxxxxx
In-reply-to: Your message of "Tue, 28 Oct 2003 11:02:14 +0200." <Pine.LNX.4.56L0.0310281101010.23799@ahriman.bucharest.roedu.net>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 28 Oct 2003 11:02:14 +0200 (EET), 
Mihai RUSU <dizzy@xxxxxxxxx> wrote:
>make[3]: Entering directory `/usr/src/linux-2.4.20-20.9.XFS1.3.1/fs/devfs'
>gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-20.9.XFS1.3.1/include -Wall 
>- -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
>- -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
>- -nostdinc -iwithprefix include -DKBUILD_BASENAME=base  -c -o base.o base.c
>base.c: In function `is_devfsd_or_child':
>base.c:1417: structure has no member named `p_opptr'
>base.c:1417: structure has no member named `p_opptr'

RH backported the new scheduler code from 2.6 and did not test it with
devfs, naughty RH.  p_opptr has been renamed to real_parent.

--- fs/devfs/base.c.orig        2003-10-28 22:33:45.000000000 +1100
+++ fs/devfs/base.c     2003-10-28 22:34:37.000000000 +1100
@@ -1414,7 +1414,7 @@
     if (current == fs_info->devfsd_task) return (TRUE);
     if (current->pgrp == fs_info->devfsd_pgrp) return (TRUE);
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,1)
-    for (p = current->p_opptr; p != &init_task; p = p->p_opptr)
+    for (p = current->real_parent; p != &init_task; p = p->real_parent)
     {
        if (p == fs_info->devfsd_task) return (TRUE);
     }


<Prev in Thread] Current Thread [Next in Thread>