]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: bypass: consolidate copy_page macros into a single function
authorMarc Dionne <marc.c.dionne@gmail.com>
Tue, 14 Aug 2012 00:32:08 +0000 (20:32 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Sat, 29 Sep 2012 13:40:00 +0000 (06:40 -0700)
commit54db9af1a87c03d6f00ab70565c9d1f733813fc2
tree50f9f98a44347e6c4f382e001c7869177197fbc9
parent191df3d05770781d4a47ff210f9adf2712f8be07
Linux: bypass: consolidate copy_page macros into a single function

The copy_page(s) macros are very similar; combine them into a
single function that can be used for all cases.

This will make it easier to add some pre-processor logic around
the kmap_atomic calls to adapt to Linux API changes.

Reviewed-on: http://gerrit.openafs.org/7980
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 0a8256a26fafb490b454f2a857b0c15d859572c5)

Change-Id: I6835a024428b26a8cd8d073f6304d0d0b3042b24
Reviewed-on: http://gerrit.openafs.org/8077
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs_bypasscache.c