Package: openafs-modules-source Version: 1.4.0-2 Severity: normal Tags: patch
The kernel in Ubuntu dapper, based on the latest upstream 2.6.15 kernel, and with extra patches, among them ocfs2. One of the ocfs patches renames WRITEPAGE_ACTIVATE to AOP_WRITEPAGE_ACTIVATE and changes it from a define to an enum. The attatched patch fixes it. Any chance of getting it applied? I will also file an Ubuntu bug, but it would be nice to have it fixed in Debian so that the openafs package does not have to diverge. /torkel -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8 Locale: LANG=en_GB.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Versions of packages openafs-modules-source depends on: ii bison 1:1.875d-1 A parser generator that is compati ii debhelper 4.2.32 helper programs for debian/rules pn e2fslibs-dev Not found. ii flex 2.5.31-31 A fast lexical analyzer generator. ii kernel-package 8.135 A utility for building Linux kerne ii libncurses5-dev 5.4-4 Developer's libraries and docs for ii libpam0g-dev 0.76-22 Development files for PAM
--- openafs-1.4.0.orig/src/afs/LINUX/osi_vnodeops.c +++ openafs-1.4.0/src/afs/LINUX/osi_vnodeops.c @@ -1414,7 +1414,11 @@ #if defined(AFS_LINUX26_ENV) if (PageReclaim(pp)) { +# if defined(WRITEPAGE_ACTIVATE) return WRITEPAGE_ACTIVATE; +# else + return AOP_WRITEPAGE_ACTIVATE; +# endif } #else if (PageLaunder(pp)) {