Messages in this thread Patch in this message | | | Date | Fri, 12 Oct 2007 16:36:15 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | [BUGFIX][PATCH][ for -mm] bugfix for memory cgroup controller [2/5] fix error handling path in mem_charge_cgroup |
| |
This unlock_page_cgroup() is unnecessary.
Changelog: v1 -> v2 * adjusted to 2.6.23-mm1
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
mm/memcontrol.c | 2 -- 1 file changed, 2 deletions(-)
Index: devel-2.6.23-mm1/mm/memcontrol.c =================================================================== --- devel-2.6.23-mm1.orig/mm/memcontrol.c +++ devel-2.6.23-mm1/mm/memcontrol.c @@ -392,9 +392,7 @@ done: return 0; free_pc: kfree(pc); - return -ENOMEM; err: - unlock_page_cgroup(page); return -ENOMEM; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |