[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-24
Subject: ia64: Fix perfmon error path missing unlock.
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2002-09-27 23:36:49
[Download RAW message or body]
ChangeSet 1.676.7.14, 2002/09/27 17:36:49-06:00, eranian@hpl.hp.com
ia64: Fix perfmon error path missing unlock.
# This patch includes the following deltas:
# ChangeSet 1.676.7.13 -> 1.676.7.14
# arch/ia64/kernel/perfmon.c 1.7 -> 1.8
#
perfmon.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
diff -Nru a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
--- a/arch/ia64/kernel/perfmon.c Wed Dec 18 11:32:39 2002
+++ b/arch/ia64/kernel/perfmon.c Wed Dec 18 11:32:39 2002
@@ -1057,7 +1057,10 @@
/*
* check if we can send this task a signal
*/
- if (pfm_bad_permissions(notify_task)) goto buffer_error;
+ if (pfm_bad_permissions(notify_task)) {
+ read_unlock(&tasklist_lock);
+ goto buffer_error;
+ }
/*
* make visible
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic