[OpenAFS] 1.5.53-56 do no more compile with Linux 2.4

Axel Reinhold afs@freakout.de
Sat, 3 Jan 2009 12:26:16 +0100


While 1.5.52 did well with Linux 2.4 - since the last four versions 1.5.53 and 1.5.54 no more compiling:

/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_readdir':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:263: warning: assignment makes integer from pointer without a cast
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'check_bad_parent':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:789: warning: passing argument 2 of 'afs_lookup' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_dentry_revalidate':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:949: warning: passing argument 2 of 'afs_lookup' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_lookup':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1127: warning: passing argument 2 of 'afs_lookup' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_link':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1220: warning: passing argument 3 of 'afs_link' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_unlink':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1261: warning: passing argument 2 of 'afs_rename' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1261: warning: passing argument 4 of 'afs_rename' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1294: warning: passing argument 2 of 'afs_remove' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_symlink':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1322: warning: passing argument 2 of 'afs_symlink' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1322: warning: passing argument 4 of 'afs_symlink' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_mkdir':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1344: warning: passing argument 2 of 'afs_mkdir' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_rmdir':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1375: warning: passing argument 2 of 'afs_rmdir' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_linux_rename':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1426: warning: passing argument 2 of 'afs_rename' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:1426: warning: passing argument 4 of 'afs_rename' discards qualifiers from pointer target type
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c: In function 'afs_fill_inode':
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:2269: error: 'struct address_space' has no member named 'backing_dev_info'
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:2269: error: 'afs_backing_dev_info' undeclared (first use in this function)
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:2269: error: (Each undeclared identifier is reported only once
/var/tmp/BUILD/openafs-1.5.56/src/afs/LINUX/osi_vnodeops.c:2269: error: for each function it appears in.)
make[2]: *** [osi_vnodeops.o] Error 1
make[2]: Leaving directory `/var/tmp/BUILD/openafs-1.5.56/src/libafs/MODLOAD-2.4.37-ARX-SP'
make[1]: *** [linux_compdirs] Error 2
make[1]: Leaving directory `/var/tmp/BUILD/openafs-1.5.56/src/libafs'
make: *** [libafs] Error 2