]> git.baikalelectronics.ru Git - kernel.git/commit
mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init
authorDenis Cheng <crquan@gmail.com>
Wed, 5 Dec 2007 07:45:07 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:18 +0000 (09:21 -0800)
commit3bb79ba455a39baa284a34e0789e92be5bb2f770
treed92ae6d43c8f3b18c8ae785dc322ad9e2e3fae36
parent18b299dc5296356711847328f90e425ede129541
mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init

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@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/backing-dev.c