idr: revert misallocation bug fix
authorTejun Heo <tj@kernel.org>
Thu, 4 Feb 2010 08:57:37 +0000 (17:57 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Feb 2010 00:03:41 +0000 (16:03 -0800)
commit6f14a668f1a8b715a6e855f4e32705e54a6e86a1
tree3583162191f16c1d622fe1f6872870e6ae3fbfe8
parente9e70bc14ea5974e21f5baecf95a123844c412b9
idr: revert misallocation bug fix

Commit 859ddf09743a8cc680af33f7259ccd0fd36bfe9d tried to fix
misallocation bug but broke full bit marking by not clearing
pa[idp->layers] and also is causing X failures due to lookup failure
in drm code.  The cause of the latter hasn't been found yet.  Revert
the fix for now.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/idr.c