file_inode(f)->i_mapping is f->f_mapping

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2015-12-04 23:45:44 -05:00
부모 affda48410
커밋 93c76a3d43
11개의 변경된 파일17개의 추가작업 그리고 17개의 파일을 삭제

파일 보기

@@ -3287,7 +3287,7 @@ static void unmap_ref_private(struct mm_struct *mm, struct vm_area_struct *vma,
address = address & huge_page_mask(h);
pgoff = ((address - vma->vm_start) >> PAGE_SHIFT) +
vma->vm_pgoff;
mapping = file_inode(vma->vm_file)->i_mapping;
mapping = vma->vm_file->f_mapping;
/*
* Take the mapping lock for the duration of the table walk. As