Missing piece from as659

From: Matthew Wilcox
Date: Fri Feb 24 2006 - 11:46:54 EST



Alan, you didn't cc the pci mailing list on the original patch.
http://www.ussg.iu.edu/hypermail/linux/kernel/0602.2/2673.html

You only fix pci_get_subsys; pci_get_class has the same bug.

If it is a bug, of course. It's not clear to me whether it's permissible
to call pci_dev_put under a spinlock or not. That boils down to whether
kobject ->release methods can sleep or not. That isn't documented in
Documentation/kobject.txt and I rather think it should be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/