[OpenAFS-devel] bad call to fakestat in flock

Neulinger, Nathan nneul@umr.edu
Tue, 9 Apr 2002 10:22:51 -0500


Can't answer the fakestat issue, but prototypes are in progress on the
openafs-prototypes-1_3_x branch in cvs. I don't believe I have gotten to
anything with FakeStat yet.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


> -----Original Message-----
> From: Pavel Semerad [mailto:semerad@ss1000.ms.mff.cuni.cz]=20
> Sent: Tuesday, April 09, 2002 10:18 AM
> To: openafs-devel@openafs.org
> Subject: [OpenAFS-devel] bad call to fakestat in flock
>=20
>=20
>=20
> Hi,
> afs_EvalFakeStat is called with wrong order of arguments (why=20
> there are no
> prototypes ?) in afs_vnop_flock.c:
>=20
> --- src/afs/VNOPS/afs_vnop_flock.c Apr 2002 09:53:22 -0000   =20
>   1.1.1.14
> +++ src/afs/VNOPS/afs_vnop_flock.c Apr 2002 15:10:06 -0000      1.17
> @@ -508,7 +515,7 @@ struct AFS_UCRED *acred; {
>      AFS_STATCNT(afs_lockctl);
>      if (code =3D afs_InitReq(&treq, acred)) return code;
>      afs_InitFakeStat(&fakestate);
> -    code =3D afs_EvalFakeStat(&fakestate, &avc, &treq);
> +    code =3D afs_EvalFakeStat(&avc, &fakestate, &treq);
>      if (code) {
>         afs_PutFakeStat(&fakestate);
>         return code;
>=20
>=20
> Pavel Semerad
>=20
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>=20