aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-10-18 14:14:56 -0700
committerRoland Dreier <rolandd@cisco.com>2005-10-18 14:14:56 -0700
commitba8e9310244180bbc820e865d2e4378809b4a443 (patch)
tree407dc58bb932a7cd09df5c5b0c13f28cfd7f1c61 /scripts/basic/split-include.c
parent[IB] mthca: Add struct pci_driver.owner field (diff)
downloadlinux-ba8e9310244180bbc820e865d2e4378809b4a443.tar.gz
linux-ba8e9310244180bbc820e865d2e4378809b4a443.zip
[IB] Fail sysfs queries after device is unregistered
We keep IB device structures around until the last sysfs reference is gone, but we shouldn't ask the low-level driver to do anything after the LLD unregisters the device. To handle this, check the reg_state field and just fail sysfs show() requests if the device has already been unregistered. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions