• Alexander Viro's avatar
    [PATCH] paride protocols switched to ->owner · 739659cc
    Alexander Viro authored
    Still not safe (we use __MOD_INC_USE_COUNT in paride.c; old code has
    MOD_INC_USE_COUNT in protocol drivers), but that takes crap in one
    place.
    
    	->owner added
    	paride.c grabs/releases it if if present
    	->proto_init() became empty for almost everything
    	->proto_release() <<--->>
    	->proto_init() returns int now (the only case where we do have a
    	  non-empty ->proto_init() needed that all along).  paride.c
    	  taught to deal with that.
    739659cc
comm.c 4.78 KB