diff options
-rw-r--r-- | mm/ksm.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1002,8 +1002,7 @@ static int try_to_merge_one_page(struct vm_area_struct *vma, goto out; if (PageTransCompound(page)) { - err = split_huge_page(page); - if (err) + if (split_huge_page(page)) goto out_unlock; } |