Commit 232664b3 authored by Eric Anholt's avatar Eric Anholt Committed by Greg Kroah-Hartman

staging/vchi: Update for rename of page_cache_release() to put_page().

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 166beccd
......@@ -439,7 +439,7 @@ create_pagelist(char __user *buf, size_t count, unsigned short type,
while (actual_pages > 0)
{
actual_pages--;
page_cache_release(pages[actual_pages]);
put_page(pages[actual_pages]);
}
kfree(pagelist);
if (actual_pages == 0)
......@@ -578,7 +578,7 @@ free_pagelist(PAGELIST_T *pagelist, int actual)
offset = 0;
set_page_dirty(pg);
}
page_cache_release(pg);
put_page(pg);
}
}
......
......@@ -1512,7 +1512,7 @@ dump_phys_mem(void *virt_addr, uint32_t num_bytes)
kunmap(page);
for (page_idx = 0; page_idx < num_pages; page_idx++)
page_cache_release(pages[page_idx]);
put_page(pages[page_idx]);
kfree(pages);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment