|
@@ -5150,7 +5150,6 @@ static struct page *mc_handle_file_pte(struct vm_area_struct *vma,
|
|
|
unsigned long addr, pte_t ptent, swp_entry_t *entry)
|
|
|
{
|
|
|
struct page *page = NULL;
|
|
|
- struct inode *inode;
|
|
|
struct address_space *mapping;
|
|
|
pgoff_t pgoff;
|
|
|
|
|
@@ -5159,7 +5158,6 @@ static struct page *mc_handle_file_pte(struct vm_area_struct *vma,
|
|
|
if (!move_file())
|
|
|
return NULL;
|
|
|
|
|
|
- inode = vma->vm_file->f_path.dentry->d_inode;
|
|
|
mapping = vma->vm_file->f_mapping;
|
|
|
if (pte_none(ptent))
|
|
|
pgoff = linear_page_index(vma, addr);
|