• Alexander Viro's avatar
    [PATCH] parport: fix parport_unregister_port · ae748b8a
    Alexander Viro authored
    	parport_unregister_port() is split; parport_remove_port() does
    what parport_unregister_port() used to do sans the final parport_put_port()
    call.
    	Callers updated; many of them needed only parport_put_port() (failure
    exit paths where we never had the port announced to drivers).
    	Fixed multiple races on port removal by shifting parport_remove_port()
    in front of the code that releases irq/io ports/etc.
    ae748b8a
share.c 31.6 KB