]> git.neil.brown.name Git - history.git/commit
[PATCH] fix sysfs oops
authorAndrew Morton <akpm@osdl.org>
Tue, 6 Jan 2004 23:52:21 +0000 (15:52 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 6 Jan 2004 23:52:21 +0000 (15:52 -0800)
commitb7e72582299522b431332a555546e4297296e867
treed6893e33e90088cd91b13f79d5e6186e1e25d93a
parentdc8d3e6090b5f715d59dc478f08a6aa706eee774
[PATCH] fix sysfs oops

From: Greg KH <greg@kroah.com>

This fixes an oops when a kobject is unregistered before it's child is.
The usb-serial devices show this bug very easily (yank out a device
while its port is opened...)

Patch was originally written by Mike Gorse <mgorse@mgorse.dhs.org>
fs/sysfs/dir.c