aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/file.c')
-rw-r--r--fs/nilfs2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index 61946883025c..89dc0886387d 100644
--- a/fs/nilfs2/file.c
+++ b/fs/nilfs2/file.c
@@ -67,7 +67,7 @@ int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
67static int nilfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) 67static int nilfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
68{ 68{
69 struct page *page = vmf->page; 69 struct page *page = vmf->page;
70 struct inode *inode = vma->vm_file->f_dentry->d_inode; 70 struct inode *inode = file_inode(vma->vm_file);
71 struct nilfs_transaction_info ti; 71 struct nilfs_transaction_info ti;
72 int ret = 0; 72 int ret = 0;
73 73