+openafs (1.4.2~fc4-2) unstable; urgency=low
+
+ * Apply additional upstream patch for AMD64 2.6.18 kernel module build
+ issues. (Closes: #389729)
+
+ -- Russ Allbery <rra@debian.org> Sat, 30 Sep 2006 00:34:33 -0700
+
openafs (1.4.2~fc4-1) unstable; urgency=low
* New upstream release candidate.
extern asmlinkage long sys_open (const char *, int, int) __attribute__((weak));
#endif
extern asmlinkage long sys_ioctl(unsigned int, unsigned int, unsigned long) __attribute__((weak));
+extern rwlock_t tasklist_lock __attribute__((weak));
/* Structures used to control probing. We put all the details of which
#include "afs/param.h"
RCSID
- ("$Header: /cvs/openafs/src/afs/afs_osi.c,v 1.48.2.7 2006/05/22 19:08:45 shadow Exp $");
+ ("$Header: /cvs/openafs/src/afs/afs_osi.c,v 1.48.2.8 2006/09/22 11:20:34 shadow Exp $");
#include "afs/sysincludes.h" /* Standard vendor system headers */
#include "afsincludes.h" /* Afs-based standard headers */
struct task_struct *p;
if (&tasklist_lock)
read_lock(&tasklist_lock);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+ else
+ rcu_read_lock();
+#endif
+
#ifdef DEFINED_FOR_EACH_PROCESS
for_each_process(p) if (p->pid) {
#ifdef STRUCT_TASK_STRUCT_HAS_EXIT_STATE
#endif
if (&tasklist_lock)
read_unlock(&tasklist_lock);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+ else
+ rcu_read_unlock();
+#endif
}
#endif
#include "afs/param.h"
RCSID
- ("$Header: /cvs/openafs/src/rx/LINUX/rx_knet.c,v 1.23.2.9 2006/03/02 06:41:23 shadow Exp $");
+ ("$Header: /cvs/openafs/src/rx/LINUX/rx_knet.c,v 1.23.2.10 2006/09/22 11:20:35 shadow Exp $");
#include <linux/version.h>
#ifdef AFS_LINUX22_ENV
if (&tasklist_lock)
read_lock(&tasklist_lock);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+ else
+ rcu_read_lock();
+#endif
listener = find_task_by_pid(rxk_ListenerPid);
if (&tasklist_lock)
read_unlock(&tasklist_lock);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+ else
+ rcu_read_unlock();
+#endif
while (rxk_ListenerPid) {
flush_signals(listener);
force_sig(SIGKILL, listener);