diff options
| -rw-r--r-- | drivers/hv/channel.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index de8193f3b838..fe00b12e4417 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c | |||
| @@ -516,6 +516,14 @@ int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, | |||
| 516 | } | 516 | } |
| 517 | wait_for_completion(&msginfo->waitevent); | 517 | wait_for_completion(&msginfo->waitevent); |
| 518 | 518 | ||
| 519 | if (msginfo->response.gpadl_created.creation_status != 0) { | ||
| 520 | pr_err("Failed to establish GPADL: err = 0x%x\n", | ||
| 521 | msginfo->response.gpadl_created.creation_status); | ||
| 522 | |||
| 523 | ret = -EDQUOT; | ||
| 524 | goto cleanup; | ||
| 525 | } | ||
| 526 | |||
| 519 | if (channel->rescind) { | 527 | if (channel->rescind) { |
| 520 | ret = -ENODEV; | 528 | ret = -ENODEV; |
| 521 | goto cleanup; | 529 | goto cleanup; |
