]> git.hungrycats.org Git - linux/commit
Fix "insert_resource()" nesting bug
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 12:29:11 +0000 (05:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 12:29:11 +0000 (05:29 -0700)
commit3c5a76a16ef66867d3ce56e928c6a3e0f64e4087
tree54f511dc254046b0ca937d9514b6c7f2dfaa708b
parent962eb7be434410ae1006723184abb99baacac525
Fix "insert_resource()" nesting bug

It used to create totally impossible resource trees in some
circumstances where it was asked to insert a conflicting
resource. We never noticed, because it wasn't used that much.

Make it return the proper error instead.
kernel/resource.c