[OpenAFS] afs module dows not load on Linux 2.4

Axel Reinhold afs@freakout.de
Sun, 25 May 2008 19:43:40 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0018_01C8BE9F.A1D49440
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit

openafs-1.5.37 and 38 have a cut/paste style error.
the module does not load with Linux 2.4.x therefore.
patch is attached.

Axel
------=_NextPart_000_0018_01C8BE9F.A1D49440
Content-Type: application/octet-stream;
	name="hlist_unhashed.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="hlist_unhashed.patch"

--- acinclude.m4.orig	Thu May 22 18:25:16 2008=0A=
+++ acinclude.m4	Thu May 22 18:26:40 2008=0A=
@@ -841,7 +841,7 @@=0A=
 		 if test "x$ac_cv_linux_kernel_page_follow_link" =3D "xyes" ; then=0A=
 		  AC_DEFINE(HAVE_KERNEL_PAGE_FOLLOW_LINK, 1, [define if your linux =
kernel provides page_follow_link])=0A=
 		 fi=0A=
-		 if test "x$ac_cv_linux_kernel_page_follow_link" =3D "xyes" ; then=0A=
+		 if test "x$ac_cv_linux_kernel_hlist_unhashed" =3D "xyes" ; then=0A=
 		  AC_DEFINE(HAVE_KERNEL_HLIST_UNHASHED, 1, [define if your linux =
kernel provides hlist_unhashed])=0A=
 		 fi=0A=
 		 if test "x$ac_linux_syscall" =3D "xyes" ; then=0A=
--- configure.orig	Thu May 22 18:41:16 2008=0A=
+++ configure	Thu May 22 19:00:57 2008=0A=
@@ -17475,7 +17475,7 @@=0A=
 _ACEOF=0A=
 =0A=
 		 fi=0A=
-		 if test "x$ac_cv_linux_kernel_page_follow_link" =3D "xyes" ; then=0A=
+		 if test "x$ac_cv_linux_kernel_hlist_unhashed" =3D "xyes" ; then=0A=
 =0A=
 cat >>confdefs.h <<\_ACEOF=0A=
 #define HAVE_KERNEL_HLIST_UNHASHED 1=0A=

------=_NextPart_000_0018_01C8BE9F.A1D49440--