/* mmap()d file has taken write protection fault and is being made writable. We can set the page state up correctly for a writable page, which means we can do correct delalloc accounting (ENOSPC checking!) and unwritten extent mapping.  */
STATIC int xfs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
/* mmap()d file has taken write protection fault and is being made writable. We can set the page state up correctly for a writable page, which means we can do correct delalloc accounting (ENOSPC checking!) and unwritten extent mapping.  */
STATIC int xfs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
{
	return block_page_mkwrite(vma, vmf, xfs_get_blocks);
}