]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Tue, 11 Jan 2011 20:24:46 +0000 (12:24 -0800)
commit6b4f5f240e3529c45981db8ea15ae788cbeb94b5
tree02c256eab0f6f085f54dde4ad031f4afbf7866d5
parenta26755c9d6739fc9c84bb462fd3a051dea402114
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.

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>
(cherry picked from commit 1de6d5bb0122d00c398202451bf88042ea08aa3e)

Change-Id: I6d2970f9b8811e145e2a03105c64cbd6714c0c5a
Reviewed-on: http://gerrit.openafs.org/3641
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_bypasscache.c