[Devel] [PATCH RHEL7 COMMIT] bc: Add missing put_beancounter call
Konstantin Khorenko
khorenko at odin.com
Tue Apr 28 07:37:00 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.el7.ovz.4.8
------>
commit aeb358367d9e09f88bf97ccaa6e8cac896f318ce
Author: Cyrill Gorcunov <gorcunov at odin.com>
Date: Tue Apr 28 18:37:00 2015 +0400
bc: Add missing put_beancounter call
Looks like over #ifdef'ed typo in first place.
We took bencounter but never put it back.
This is a part of the fix for
https://jira.sw.ru/browse/PSBM-29895
Signed-off-by: Cyrill Gorcunov <gorcunov at odin.com>
Acked-by: Vladimir Davydov <vdavydov at parallels.com>
kernel/bc/io_prio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
kernel/bc/io_prio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/bc/io_prio.c b/kernel/bc/io_prio.c
index 66e5404..83d3424 100644
--- a/kernel/bc/io_prio.c
+++ b/kernel/bc/io_prio.c
@@ -48,8 +48,8 @@ int ub_set_ioprio(int id, int ioprio)
ret = 0;
else
ret = -ENOTSUPP;
- put_beancounter(ub);
#endif
+ put_beancounter(ub);
out:
return ret;
}
More information about the Devel
mailing list