• 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
check.c 13.6 KB