]> err.no Git - linux-2.6/commit
idr: fix idr_remove()
authorNadia Derbey <Nadia.Derbey@bull.net>
Thu, 1 May 2008 11:34:57 +0000 (04:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:04:00 +0000 (08:04 -0700)
commitaf8e2a4cb9b3e14b919ae1cd4012825aefddbeb0
tree8910da8632172a09437db0bb5860234daefd894f
parent7793bfcfccc91d036d61618d90baf2be3d76e710
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>
lib/idr.c