From: Jeremy Fitzhardinge on
From: K. Y. Srinivasan <ksrinivasan(a)>

Signed-off-by: K. Y. Srinivasan <ksrinivasan(a)>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge(a)>
drivers/block/xen-blkfront.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 3426704..50b2952 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)
printk(KERN_INFO "Setting capacity to %Lu\n",
set_capacity(info->gd, sectors);
+ revalidate_disk(info->gd);

/* fall through */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at