Searched refs:rbd_major (Results 1 – 1 of 1) sorted by relevance
478 static int rbd_major; variable6794 rbd_dev->major = rbd_major; in rbd_dev_device_setup()7298 rbd_major = register_blkdev(0, RBD_DRV_NAME); in rbd_init()7299 if (rbd_major < 0) { in rbd_init()7300 rc = rbd_major; in rbd_init()7310 pr_info("loaded (major %d)\n", rbd_major); in rbd_init()7318 unregister_blkdev(rbd_major, RBD_DRV_NAME); in rbd_init()7331 unregister_blkdev(rbd_major, RBD_DRV_NAME); in rbd_exit()