diff options
author | Stefan Weinhuber <wein@de.ibm.com> | 2013-02-04 13:10:35 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-14 15:55:17 +0100 |
commit | be4904e5039a769f84f933bacce85c5e8ddd90a7 (patch) | |
tree | 794991a4c64ebac62a7d27552894e317fec97e0f /drivers/uio | |
parent | 53923354d69e4748506bfee932b7c6b309a15c21 (diff) |
dasd: fix sysfs cleanup in dasd_generic_remove
When the DASD devices are detached from the driver, then the
dasd_generic_remove function is called. One of the things this
function should do is to remove the DASD specific sysfs attributes,
but this is not done in all cases. This is likely to cause an oops
when at a later point sysfs stumbles over the stale pointers. In
particular this happens when when the modules are unloaded and loaded
again.
Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions