[OpenAFS] 1.4.7pre2+patch success on i386
Hans-Werner Paulsen
hans@MPA-Garching.MPG.DE
Fri, 4 Apr 2008 12:39:31 +0200
Hello,
I added the following modifications to OpenAFS-1.4.7pre2
reported on the list:
--- openafs-1.4.7pre2/src/afs/LINUX/osi_vnodeops.c.orig Wed Mar 26 05:17:=
32 2008
+++ openafs-1.4.7pre2/src/afs/LINUX/osi_vnodeops.c Thu Apr 3 14:30:36 20=
08
@@ -570,8 +570,10 @@
=20
AFS_GLOCK();
=20
- if (fp->f_flags | O_RDONLY) /* readers dont flush */
+ if ((fp->f_flags & O_ACCMODE) =3D=3D O_RDONLY) {
+ AFS_GUNLOCK();
return 0;
+ }
=20
credp =3D crref();
vcp =3D VTOAFS(FILE_INODE(fp));
and the OpenAFS client does not show any problems with
linux-2.6.24.4
gcc-4.2.3
on a i386 system.
HW
--=20
Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
MPI f=FCr Astrophysik Tel 089-30000-2602
Karl-Schwarzschild-Str. 1 Fax 089-30000-2235=09
D-85741 Garching