aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/xen-blkfront.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 9b440221755d..7fa2a1db51e6 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -943,6 +943,7 @@ static void blkfront_connect(struct blkfront_info *info)
943 printk(KERN_INFO "Setting capacity to %Lu\n", 943 printk(KERN_INFO "Setting capacity to %Lu\n",
944 sectors); 944 sectors);
945 set_capacity(info->gd, sectors); 945 set_capacity(info->gd, sectors);
946 revalidate_disk(info->gd);
946 947
947 /* fall through */ 948 /* fall through */
948 case BLKIF_STATE_SUSPENDED: 949 case BLKIF_STATE_SUSPENDED: