/* Try to drop buffers from the pages in a pagevec  */
void pagevec_strip(struct pagevec *pvec)
/* Try to drop buffers from the pages in a pagevec  */
void pagevec_strip(struct pagevec *pvec)
{
	int i;
	for (i = 0; i < pagevec_count(pvec); i++) {
		struct page *page = pvec->pages[i];
		if (page_has_private(page) && trylock_page(page)) {
			if (page_has_private(page))
				try_to_release_page(page, 0);
			unlock_page(page);
		}
	}
}