From f6e46babd8e3a0d51d31ae381748516330f5b84d Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Fri, 17 Jul 2009 11:06:34 -0400 Subject: [PATCH] Build on linux 2.4 again Add missing conditional to fix building on linux 2.4. FIXES 125120 Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/148 Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Tested-by: Russ Allbery Reviewed-by: Russ Allbery --- src/afs/LINUX/osi_vnodeops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index ff8962deb..6f780d332 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -2040,10 +2040,12 @@ afs_linux_writepage(struct page *pp) do_it: status = afs_linux_writepage_sync(inode, pp, 0, offset); SetPageUptodate(pp); +#if defined(AFS_LINUX26_ENV) #if defined(WRITEPAGE_ACTIVATE) if ( status != WRITEPAGE_ACTIVATE ) #else if ( status != AOP_WRITEPAGE_ACTIVATE ) +#endif #endif UnlockPage(pp); if (status == offset) -- 2.39.5