OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-473-g46a6d61
Gerrit Code Review
gerrit@openafs.org
Wed, 24 Nov 2010 19:14:42 -0800 (PST)
The following commit has been merged in the master branch:
commit 46a6d6129d80c4027d8a9f0e1d06b32cc12d6367
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Tue Nov 23 18:39:33 2010 -0500
Cache bypass: Only compile bypass code for the Linux kernel
Only compile the afs_bypasscache.c code if AFS_LINUX24_ENV is set,
since it's currently the only case where the code is actually used.
Only sections that caused problems for UKERNEL were previously
ifdef'ed.
Besides making the code cleaner, the main effect of this change
is to prevent compiling most of the bypass code for UKERNEL where
it isn't currently used.
If support for bypass is added for other platforms eventually, the
code here would need to be reworked anyway, ideally abstracting out
and moving any OS specific bits into the platform subdirectories.
Change-Id: If39294926ea38896ce2dedd1e46b2da0d622cae5
Reviewed-on: http://gerrit.openafs.org/3374
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_bypasscache.c | 52 +++-----------------------------------------
src/afs/afs_pioctl.c | 6 ++--
2 files changed, 7 insertions(+), 51 deletions(-)
--
OpenAFS Master Repository