mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user