aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorNadia Derbey <Nadia.Derbey@bull.net>2008-05-01 04:34:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-01 08:04:00 -0700
commitaf8e2a4cb9b3e14b919ae1cd4012825aefddbeb0 (patch)
tree8910da8632172a09437db0bb5860234daefd894f /lib/dec_and_lock.c
parent7793bfcfccc91d036d61618d90baf2be3d76e710 (diff)
downloadkernel_samsung_smdk4412-af8e2a4cb9b3e14b919ae1cd4012825aefddbeb0.zip
kernel_samsung_smdk4412-af8e2a4cb9b3e14b919ae1cd4012825aefddbeb0.tar.gz
kernel_samsung_smdk4412-af8e2a4cb9b3e14b919ae1cd4012825aefddbeb0.tar.bz2
idr: fix idr_remove()
The return inside the loop makes us free only a single layer. Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Jim Houston <jim.houston@comcast.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions