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);
}
|