scst_vdisk: Change page_cache_alloc_cold() calls into page_cache_alloc() calls

See also commit 453f85d43fa9 ("mm: remove __GFP_COLD").


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7295 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2017-12-28 18:45:20 +00:00
parent 8268f5d5b1
commit 66adc2ce3f

View File

@@ -3206,7 +3206,7 @@ find_page:
/*
* Not cached so create a new page.
*/
page = page_cache_alloc_cold(mapping);
page = page_cache_alloc(mapping);
if (!page) {
error = -ENOMEM;
goto err;