diff options
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index c43a452f7da2..4fdaaa63cf1c 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -530,6 +530,8 @@ static int nfs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) | |||
530 | if (mapping != dentry->d_inode->i_mapping) | 530 | if (mapping != dentry->d_inode->i_mapping) |
531 | goto out_unlock; | 531 | goto out_unlock; |
532 | 532 | ||
533 | wait_on_page_writeback(page); | ||
534 | |||
533 | pagelen = nfs_page_length(page); | 535 | pagelen = nfs_page_length(page); |
534 | if (pagelen == 0) | 536 | if (pagelen == 0) |
535 | goto out_unlock; | 537 | goto out_unlock; |