Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249582
b: refs/heads/master
c: 1a96d9a
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent cb54800 commit 3ad8191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4742e82fa4ac22960c3edbfc06454ca664de9a56
refs/heads/master: 1a96d9a4f3545444ea310d643279408c2d794a1c
9 changes: 3 additions & 6 deletions trunk/drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ static int storvsc_initialize(struct hv_driver *driver)

stor_driver = hvdr_to_stordr(driver);


/* Make sure we are at least 2 pages since 1 page is used for control */

memcpy(&driver->dev_type, &gStorVscDeviceType,
sizeof(struct hv_guid));

return 0;
}

Expand Down Expand Up @@ -801,6 +795,9 @@ static int storvsc_drv_init(void)
/* Callback to client driver to complete the initialization */
storvsc_initialize(&storvsc_drv_obj->base);

memcpy(&drv->dev_type, &gStorVscDeviceType,
sizeof(struct hv_guid));

if (max_outstanding_req_per_channel <
STORVSC_MAX_IO_REQUESTS)
return -1;
Expand Down

0 comments on commit 3ad8191

Please sign in to comment.