mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
xen/blkfront: revalidate after setting capacity
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
b4dddb498c
commit
2def141e71
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue