• James Bottomley's avatar
    [PATCH] fix LLD module refcounting in sr.c · d512a35f
    James Bottomley authored
    The patch to close all the open/close/hotplug races in sr left the
    module refcounting broken so that the ULD housing the CD device now
    can't be removed until the device itself is removed.
    
    This patch (structurally identical to the one for sd.c to perform the
    same function) fixes the module refcounting.
    d512a35f
sr.c 24.7 KB