projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dddb4
)
xen/blkfront: revalidate after setting capacity
author
K. Y. Srinivasan
<ksrinivasan@novell.com>
Thu, 18 Mar 2010 22:00:54 +0000
(15:00 -0700)
committer
Jens Axboe
<jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:31:31 +0000
(18:31 +0200)
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/block/xen-blkfront.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/xen-blkfront.c
b/drivers/block/xen-blkfront.c
index 9b440221755d7c169ac9a9871e4b330053fb6072..7fa2a1db51e68d3e67d7dbe01a271a4738644985 100644
(file)
--- 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",
sectors);
set_capacity(info->gd, sectors);
+ revalidate_disk(info->gd);
/* fall through */
case BLKIF_STATE_SUSPENDED: