[OpenAFS] Re: Problem with openafs-1.3.81 on kernel 2.6.11.7

Horst Birthelmer horst@riback.net
Tue, 19 Apr 2005 13:32:48 +0200


On Apr 19, 2005, at 1:01 PM, Dr A V Le Blanc wrote:

> Chaskiel M Grundman <cg2v@andrew.cmu.edu> recently posted a patch
> currently in CVS, which Chas Williams <chas@cmf.nrl.navy.mil>
> appeared to say fixed the problem.  The important bit of the patch
> reads:
>
>       #if defined(AFS_LINUX24_ENV)
>      +    filp->f_mode = FMODE_READ|FMODE_WRITE;
>           filp->f_op = fops_get(tip->i_fop);
>       #else
>
> As far as I can see, this is not compiled in the AFS_LINUX26_ENV,
> which is of course the environment of kernel 2.6.11.7, about which
> I originally reported this bug.
>
>

AFS_LINUX24_ENV is defined on Linux 2.6.
This means this fix is not just for Linux 2.6.x but for the 2.4.x 
kernels as well.

Horst