[OpenAFS-devel] Kernel 2.6.20: ‘struct task_struct’ has no member named ‘todo’

Anders Kaseorg anders@kaseorg.com
Sat, 23 Dec 2006 07:09:50 -0500


The OpenAFS kernel module fails to compile on Ubuntu Feisty with kernel
2.6.20.  This is with the openafs-stable-1_4_x branch in CVS.

openafs/src/libafs/MODLOAD-2.6.20-2-generic-MP/rx_kmutex.c: In function
‘afs_cv_wait’:
openafs/src/libafs/MODLOAD-2.6.20-2-generic-MP/rx_kmutex.c:122: error:
‘struct task_struct’ has no member named ‘todo’
openafs/src/libafs/MODLOAD-2.6.20-2-generic-MP/rx_kmutex.c:128: warning:
implicit declaration of function ‘refrigerator’

Anders