[OpenAFS] Linux 2.6.10-rc2 osi_misc.c structure has no member named `rlim'

Derrick J Brashear shadow@dementia.org
Mon, 6 Dec 2004 07:08:27 -0500 (EST)


On Mon, 6 Dec 2004, Helmut Jarausch wrote:

> Hi,
> here is my next problem with the Linux 2.6.10-rc2 kernel.
> It seems this 2.6.x kernel series is the most stable release series I
> can even dream of!
>
> In a statement
>    savelim = current->rlim[RLIMIT_FSIZE].rlim_cur;
>
> /OBJ/OpenAFS/openafs-1.3.74-2.6/src/libafs/MODLOAD-2.6.10-rc2-MP/osi_misc.c:141: error: structure has no member named `rlim'
>
> 'current' seems to be a global symbol (too common a name for a global
> symbol) so it's even difficult to find the declaration of 'current'.

it's moved into the "signal" or "signals" substructure of a task struct. i 
forget which. i haven't checked to be sure it's used the same, but that's 
the only place it is now.