[PATCH] PCI: don't override drv->shutdown unconditionally
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jun 2005 19:25:25 +0000 (12:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 17 Jun 2005 19:34:20 +0000 (12:34 -0700)
commit794f5bfa77955c4455f6d72d8b0e2bee25f1ff0c
tree7a9ea02e064ed7089e3a8666161aca060359c971
parentcaf2857ac6e0ba2651e722f05d5f7d3ec8ef2615
[PATCH] PCI: don't override drv->shutdown unconditionally

There are many drivers that have been setting the generic driver
model level shutdown callback, and pci thus must not override it.

Without this patch we can have really bad data loss on various
raid controllers.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/pci-driver.c