Cache bypass: Remove AFS_KMAP_ATOMIC
authorMarc Dionne <marc.c.dionne@gmail.com>
Tue, 23 Nov 2010 22:50:25 +0000 (17:50 -0500)
committerDerrick Brashear <shadow@dementia.org>
Thu, 25 Nov 2010 03:13:31 +0000 (19:13 -0800)
commit1de6d5bb0122d00c398202451bf88042ea08aa3e
tree11eeb51e77219f31418480eb3e806fa2ce589bab
parentb9a0be5b07e750401d9659678d922a729a55ed48
Cache bypass: Remove AFS_KMAP_ATOMIC

Since AFS_KMAP_ATOMIC is defined unconditionally, remove the ifdefs
and the code for the !AFS_KMAP_ATOMIC case.  We probably don't want
to support this feature on a kernel old enough not to have kmap_atomic.
This should exist on all 2.6 and even 2.4 linux kernels.

This simplifies the code for maintenance and later changes.

Change-Id: I5d111d65066990123db917ac105a5a14db3b305f
Reviewed-on: http://gerrit.openafs.org/3372
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