if you don't have a versioned kernel, so sorry.
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
add macro i forgot to commit
#undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
#undef STRUCT_INODE_HAS_I_DEVICES
+#undef EXPORTED_TASKLIST_LOCK
#undef ssize_t
#undef HAVE_STRUCT_BUF
LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
LINUX_FS_STRUCT_INODE_HAS_I_DEVICES
LINUX_INODE_SETATTR_RETURN_TYPE
+ LINUX_EXPORTS_TASKLIST_LOCK
LINUX_NEED_RHCONFIG
LINUX_WHICH_MODULES
+ if test "x$ac_cv_linux_exports_tasklist_lock" = "xyes" ; then
+ AC_DEFINE(EXPORTED_TASKLIST_LOCK)
+ fi
if test "x$ac_cv_linux_func_inode_setattr_returns_int" = "xyes" ; then
AC_DEFINE(INODE_SETATTR_NOT_VOID)
fi
{
struct task_struct *p;
+#ifdef EXPORTED_TASKLIST_LOCK
read_lock(&tasklist_lock);
+#endif
for_each_task(p) if (p->pid) {
if (p->state & TASK_ZOMBIE)
continue;
afs_GCPAGs_perproc_func(p);
}
+#ifdef EXPORTED_TASKLIST_LOCK
read_unlock(&tasklist_lock);
+#endif
}
#endif