From b293aa640d6b18b4bad78a63ec4016e1e5c97bde Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 22 May 2014 10:42:42 +1000 Subject: [PATCH] pagewalk-remove-argument-hmask-from-hugetlb_entry-fix-fix remove the assertion altogether - the null deref is sufficient Cc: Fengguang Wu Cc: Naoya Horiguchi Signed-off-by: Andrew Morton --- fs/proc/task_mmu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index b3fe1b6b0f80..a310a763ee39 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -1033,8 +1033,6 @@ static int pagemap_hugetlb(pte_t *pte, unsigned long addr, unsigned long end, pagemap_entry_t pme; unsigned long hmask; - BUG_ON(!vma); - if (vma->vm_flags & VM_SOFTDIRTY) flags2 = __PM_SOFT_DIRTY; else -- 2.39.5