X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Ffork.c;h=2c8857e12855393759562b3c6eeec2d23de6f080;hb=60f53782c51f27c695840ce90c6c432284319eef;hp=3bd2280d79f6b5507537c3e294e05c77a69d678f;hpb=f82202bae3f7f076402b16ca7bced9928aad16d0;p=karo-tx-linux.git diff --git a/kernel/fork.c b/kernel/fork.c index 3bd2280d79f6..2c8857e12855 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -455,8 +455,8 @@ static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) if (retval) goto out; - if (file && uprobe_mmap(tmp)) - goto out; + if (file) + uprobe_mmap(tmp); } /* a new mm has just been created */ arch_dup_mmap(oldmm, mm);