/* wait for a page to finish being written to the cache  */
void __fscache_wait_on_page_write(struct fscache_cookie *cookie, struct page *page)
/* wait for a page to finish being written to the cache  */
void __fscache_wait_on_page_write(struct fscache_cookie *cookie, struct page *page)
{
	wait_queue_head_t *wq = bit_waitqueue(&cookie->flags, 0);
	wait_event(*wq, !__fscache_check_page_write(cookie, page));
}