• Alexander Viro's avatar
    [PATCH] kdev_t -> bdev cleanups [2/2] · 08b0fb25
    Alexander Viro authored
     - move the contents of bdev_get_queue() into do_open() and
       check_partitions() and cache the result in new field of struct
       block_device
    
     - clean it at the same places that reset ->bd_op, etc.
    
     - make bdev_get_queue() return cached pointer.
    08b0fb25
ll_rw_blk.c 48.5 KB