From f0ece11166b0c4366b6a4b835fb58160af3bb95d Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 19 Dec 2005 03:42:45 +0000 Subject: [PATCH] * Apply patch to allow the module to build with the Ubuntu kernel. Thanks, Bjo"rn Torkelsson. (Closes: #342607) --- debian/changelog | 2 ++ src/afs/LINUX/osi_vnodeops.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9a732d316..0cc1690be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ openafs (1.4.0-3) unstable; urgency=low + * Apply patch to allow the module to build with the Ubuntu kernel. + Thanks, Björn Torkelsson. (Closes: #342607) * Add a hint to README.Debian on what to do about the cache partition if running ReiserFS or XFS without a spare partition. diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 491696fb8..64c0ed662 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1414,7 +1414,11 @@ afs_linux_writepage(struct page *pp) #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)) { -- 2.39.5