[OpenAFS] error in compiling openafs-1.8.9 on Rocky 9.1

Cheyenne Wills cwills@sinenomine.net
Mon, 13 Feb 2023 13:26:16 -0700


On Fri, 20 Jan 2023 14:25:03 +0100
Giovanni Bracco <giobrac@tiscali.it> wrote:

> I get errors in compiling the kernel module of openafs 1.8.9 on Rocky=20
> 9.1 x86_64
>=20
> This is what the compilation returns:
>=20
> > /root/openafs-1.8.9/openafs-1.8.9/src/libafs/MODLOAD-5.14.0-162.6.1.el9=
_1.0.1.x86_64-MP/osi_vnodeops.c:3617:25:
> > error: =E2=80=98block_dirty_folio=E2=80=99 undeclared here (not in a fu=
nction); did
> > you mean =E2=80=98swap_dirty_folio=E2=80=99? 3617 |   .dirty_folio =3D
> > block_dirty_folio, |                         ^~~~~~~~~~~~~~~~~ |
> >                      swap_dirty_folio make[6]: ***


There is already a patch for this that has been merged into
openafs-stable-1_8_x as part of the next release work (1.8.10).

    Gerrit 15228 Linux: Check for block_dirty_folio
    (f0fee2c7752d18ff183d60bcfba4c98c3348cd5f)

Cheyenne Wills
cwills@sinenomine.net