[OpenAFS] openafs-1.6.0 build fails on kernel-3.2.0

Dale Pontius pontius@btv.ibm.com
Thu, 05 Jan 2012 12:06:09 -0500


This morning Gentoo distributed a shiny new kernel-3.2.0, so of course I 
had to build it. Next I had to rebuild all of the out-of-tree kernel 
modules, including openafs-1.6.0. It failed, relevant lines:
--------------------
CC [M] 
/var/tmp/portage/net-fs/openafs-kernel-1.6.0/work/openafs-1.6.0/src/libafs/MODLOAD-3.2.0-gentoo-MP/osi_vfsops.o
/var/tmp/portage/net-fs/openafs-kernel-1.6.0/work/openafs-1.6.0/src/libafs/MODLOAD-3.2.0-gentoo-MP/osi_vfsops.c: 
In function ‘vattr2inode’:
/var/tmp/portage/net-fs/openafs-kernel-1.6.0/work/openafs-1.6.0/src/libafs/MODLOAD-3.2.0-gentoo-MP/osi_vfsops.c:442:5: 
error: assignment of read-only member ‘i_nlink’
make[6]: *** 
[/var/tmp/portage/net-fs/openafs-kernel-1.6.0/work/openafs-1.6.0/src/libafs/MODLOAD-3.2.0-gentoo-MP/osi_vfsops.o] 
Error 1
make[5]: *** 
[_module_/var/tmp/portage/net-fs/openafs-kernel-1.6.0/work/openafs-1.6.0/src/libafs/MODLOAD-3.2.0-gentoo-MP] 
Error 2
make[5]: Leaving directory `/usr/src/linux-3.2.0-gentoo'
--------------------
I presume that someone already knows about this, but I haven't seen it 
mentioned here or on openafs-devel. I also presume that it's something 
that has changed in kernel-3.2.0, etc, etc, etc.

Dale Pontius

-- 
Dale Pontius
Senior Engineer
IBM Corporation
Phone: (802) 769-6850
Tie-Line: 446-6850
email: pontius@us.ibm.com

This e-mail and its attachments, if any, may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message from your system without copying it and notify sender of the misdirection by reply e-mail.