Linux: use plain page_cache_alloc
commit2ff3ef2ec6f217195dc50c04ba4e3409c23e6a4d
authorStephan Wiesand <stephan.wiesand@desy.de>
Fri, 22 Dec 2017 13:17:09 +0000 (22 14:17 +0100)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 26 Dec 2017 07:06:12 +0000 (26 02:06 -0500)
treee57a100b95e24ba2056865ab10d847aecad5f06f
parentd9bb508e07f32219679c0e696f07f95e3b48886c
Linux: use plain page_cache_alloc

Linux 4.15 removes the distinction between "hot" and "cold" cache
pages, and no longer provides page_cache_alloc_cold(). Simply use
page_cache_alloc() instead, rather than adding yet another test.

Reviewed-on: https://gerrit.openafs.org/12823
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Tested-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit be5f5b2aff2d59986dd8e7dd7dd531be24c27cb2)

Change-Id: I2d4df508abfa9d3c7020b8a2817ed3e882a4dbbc
Reviewed-on: https://gerrit.openafs.org/12828
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_vnodeops.c