The patch titled mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init has been removed from the -mm tree. Its filename was mm-backing-devc-fix-percpu_counter_destroy-call-bug-in-bdi_init.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init From: Denis Cheng <crquan@xxxxxxxxx> this call should use the array index j, not i. But with this approach, just one int i is enough, int j is not needed. Signed-off-by: Denis Cheng <crquan@xxxxxxxxx> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/backing-dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN mm/backing-dev.c~mm-backing-devc-fix-percpu_counter_destroy-call-bug-in-bdi_init mm/backing-dev.c --- a/mm/backing-dev.c~mm-backing-devc-fix-percpu_counter_destroy-call-bug-in-bdi_init +++ a/mm/backing-dev.c @@ -7,7 +7,7 @@ int bdi_init(struct backing_dev_info *bdi) { - int i, j; + int i; int err; for (i = 0; i < NR_BDI_STAT_ITEMS; i++) { @@ -21,7 +21,7 @@ int bdi_init(struct backing_dev_info *bd if (err) { err: - for (j = 0; j < i; j++) + while (i--) percpu_counter_destroy(&bdi->bdi_stat[i]); } _ Patches currently in -mm which might be from crquan@xxxxxxxxx are origin.patch git-cryptodev.patch drivers-char-use-list_head-instead-of-list_head_init.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