From afe5b8be618e786124f5f08b83efd643233356f2 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sat, 1 May 2021 21:31:27 -0700 Subject: [PATCH] Updated micscif/miscif_api.c from page_cache_release() to put_page(). See also: - https://github.com/torvalds/linux/commit/1fa64f198b9f8d6ec0f7aec7c18dc94684391140 - https://github.com/torvalds/linux/commit/09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a --- micscif/micscif_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micscif/micscif_api.c b/micscif/micscif_api.c index d86cb05..c5dff5c 100644 --- a/micscif/micscif_api.c +++ b/micscif/micscif_api.c @@ -2004,7 +2004,7 @@ retry: /* Roll back any pinned pages */ for (i = 0; i < pinned_pages->nr_pages; i++) { if (pinned_pages->pages[i]) - page_cache_release(pinned_pages->pages[i]); + put_page(pinned_pages->pages[i]); } prot &= ~SCIF_PROT_WRITE; try_upgrade = false; -- 2.20.1