• Christoph Hellwig's avatar
    [PATCH] try_module_get(THIS_MODULE) is bogus · 6fe56a9f
    Christoph Hellwig authored
    In most cases the fix is to add an struct module * member to the operations
    vector instead and manipulate the refcounts in the callers context.
    
    For the ALSA cases it was completly superflous (when will people get it that
    using an exported symbol will make it's module unloadable?..)
    6fe56a9f
hosts.c 5.45 KB