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: NChristoph Hellwig <hch@lst.de> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de> Acked-by: NKeith Busch <keith.busch@intel.com>
Showing
想要评论请 注册 或 登录