The patch titled Subject: res_counter: allow charge failure pointer to be null has been removed from the -mm tree. Its filename was res_counter-allow-charge-failure-pointer-to-be-null.patch This patch was dropped because it is obsolete The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Frederic Weisbecker <fweisbec@xxxxxxxxx> Subject: res_counter: allow charge failure pointer to be null So that callers of res_counter_charge() don't have to create and pass this pointer even if they aren't interested in it. Signed-off-by: Frederic Weisbecker <fweisbec@xxxxxxxxx> Cc: Paul Menage <paul@xxxxxxxxxxxxxx> Cc: Li Zefan <lizf@xxxxxxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Aditya Kali <adityakali@xxxxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Kay Sievers <kay.sievers@xxxxxxxx> Cc: Tim Hockin <thockin@xxxxxxxxxx> Cc: Tejun Heo <htejun@xxxxxxxxx> Acked-by: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/res_counter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN kernel/res_counter.c~res_counter-allow-charge-failure-pointer-to-be-null kernel/res_counter.c --- a/kernel/res_counter.c~res_counter-allow-charge-failure-pointer-to-be-null +++ a/kernel/res_counter.c @@ -43,14 +43,16 @@ int res_counter_charge_until(struct res_ unsigned long flags; struct res_counter *c, *u; - *limit_fail_at = NULL; + if (limit_fail_at) + *limit_fail_at = NULL; local_irq_save(flags); for (c = counter; c != limit; c = c->parent) { spin_lock(&c->lock); ret = res_counter_charge_locked(c, val); spin_unlock(&c->lock); if (ret < 0) { - *limit_fail_at = c; + if (limit_fail_at) + *limit_fail_at = c; goto undo; } } _ Patches currently in -mm which might be from fweisbec@xxxxxxxxx are linux-next.patch reiserfs-delay-reiserfs-lock-until-journal-initialization.patch reiserfs-dont-lock-journal_init.patch reiserfs-dont-lock-root-inode-searching.patch cgroups-pull-up-res-counter-charge-failure-interpretation-to-caller.patch cgroups-allow-subsystems-to-cancel-a-fork.patch cgroups-add-a-task-counter-subsystem.patch cgroups-add-a-task-counter-subsystem-fix.patch cgroup-fix-task-counter-common-ancestor-logic.patch cgroup-fix-task-counter-common-ancestor-logic-checkpatch-fixes.patch selftests-new-very-basic-kernel-selftests-directory.patch selftests-new-x86-breakpoints-selftest.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html