Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI: Prevent sysfs disable of device while driver is attached
Manipulating the enable_cnt behind the back of the driver will wreak complete havoc with the kernel state, so disallow it. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Acked-by: Keith Busch <[email protected]>
- Loading branch information