]> err.no Git - linux-2.6/blobdiff - drivers/block/xen-blkfront.c
md: ensure all blocks are uptodate or locked when syncing
[linux-2.6] / drivers / block / xen-blkfront.c
index dfe61afe676a9d95dedb74d2d123c3db2622710c..f2fff5799ddf0fe1b41909b64d606d747f9081f7 100644 (file)
@@ -137,7 +137,7 @@ static void blkif_restart_queue_callback(void *arg)
        schedule_work(&info->work);
 }
 
-int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
+static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
 {
        /* We don't have real geometry info, but let's at least return
           values consistent with the size of the device */
@@ -1015,3 +1015,5 @@ module_exit(xlblk_exit);
 MODULE_DESCRIPTION("Xen virtual block device frontend");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_BLOCKDEV_MAJOR(XENVBD_MAJOR);
+MODULE_ALIAS("xen:vbd");
+MODULE_ALIAS("xenblk");