Unverified Commit 2363298a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents a09536c5 202a54d4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
	}
	if (mm) {
		up_read(&mm->mmap_sem);
		mmput(mm);
		mmput_async(mm);
	}
	return 0;

@@ -314,7 +314,7 @@ static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
err_no_vma:
	if (mm) {
		up_read(&mm->mmap_sem);
		mmput(mm);
		mmput_async(mm);
	}
	return vma ? -ENOMEM : -ESRCH;
}