[PCMCIA] True driver module locking
If we use try_module_get(driver->owner) at the right place (and module_put as well, of course), the check for (driver->use_count > 0) can't ever return true. So get rid of it, and add the proper module locking calls. ds.c | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 deletions(-)
Showing
Please register or sign in to comment