]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
pagewalk-remove-argument-hmask-from-hugetlb_entry-fix-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:42:42 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:42 +0000 (10:42 +1000)
remove the assertion altogether - the null deref is sufficient

Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/task_mmu.c

index b3fe1b6b0f807910d23a3cf09446eec88012f87e..a310a763ee3990a110e5b63492d0812f76c5057a 100644 (file)
@@ -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