• Alexander Viro's avatar
    [PATCH] alloc_disk/put_disk · 2e26b412
    Alexander Viro authored
    Beginning of proper refcounting.  New helpers introduced, several drivers
    switched to using them for dynamic allocation of gendisks.  Once everything
    is switched (and that will be way easier than per-drive gendisks series)
    we will be able to add sane reference counts on gendisk, at which point
    we can safely put pointer to gendisk in struct block_device / struct request
    and we had pretty much won - from that point it's pretty straightforward
    crapectomy in drivers.
    2e26b412
ide.c 99.8 KB