projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8ea6e2
)
xen/credit2: add missing unlock
author
Wei Liu
<wei.liu2@citrix.com>
Wed, 27 Sep 2017 11:46:21 +0000
(12:46 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Wed, 27 Sep 2017 17:04:28 +0000
(18:04 +0100)
Coverity-ID:
1418531
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
xen/common/sched_credit2.c
patch
|
blob
|
history
diff --git
a/xen/common/sched_credit2.c
b/xen/common/sched_credit2.c
index d33c881c3d5f2454bb876d2a58adb9ba9fb8be3d..18f39cafe4f72f80ecc461df9d9aaa8b42f3a765 100644
(file)
--- a/
xen/common/sched_credit2.c
+++ b/
xen/common/sched_credit2.c
@@
-2831,6
+2831,7
@@
csched2_dom_cntl(
if ( op->u.credit2.cap > 100 * sdom->nr_vcpus )
{
rc = -EINVAL;
+ write_unlock_irqrestore(&prv->lock, flags);
break;
}