Anders Kaseorg wrote:
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
You might want to try the patch in RT #49890 - it covers all the issues
I ran into with Fedora rawhide with a 2.6.20 rc1 based kernel.
Besides the refrigerator changes (no more PF_FREEZE, need to include
freezer.h), there's a change in the INIT_WORK interface and a
replacement of SLAB_KERNEL with GFP_KERNEL.
Marc
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel