Skip to content
Commit af8e2a4c authored by Nadia Derbey's avatar Nadia Derbey Committed by Linus Torvalds
Browse files

idr: fix idr_remove()



The return inside the loop makes us free only a single layer.

Signed-off-by: default avatarNadia 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7793bfcf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment