]> git.hungrycats.org Git - linux/commit
[PATCH] device removal
authorPatrick Mochel <mochel@osdl.org>
Fri, 18 Oct 2002 13:53:10 +0000 (06:53 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 18 Oct 2002 13:53:10 +0000 (06:53 -0700)
commita49c4f6a503a00fecba297858cc02010fdb7f53d
tree4bd9b7cdf665d8c2413e6e7061d98f2e7afbd25d
parent441a964bd1c531d3ab88b9efde1ed4dfcbc9d371
[PATCH] device removal

The problem was that when the refcount hit 0, it was unconditionally
assuming that it had been added, which is wrong.  The patch below
corrects that, and fixes the Oops when loading the floppy driver.
drivers/base/bus.c
drivers/base/core.c