Skip to content

Commit

Permalink
Staging: hv: Rename the function stor_vsc_on_io_request
Browse files Browse the repository at this point in the history
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 896ee01 commit bb46592
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static int blk_vsc_initialize(struct hv_driver *driver)
stor_driver->max_outstanding_req_per_channel);

/* Setup the dispatch table */
stor_driver->on_io_request = stor_vsc_on_io_request;
stor_driver->on_io_request = storvsc_do_io;

return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ int storvsc_dev_remove(struct hv_device *device)
/*
* stor_vsc_on_io_request - Callback to initiate an I/O request
*/
int stor_vsc_on_io_request(struct hv_device *device,
int storvsc_do_io(struct hv_device *device,
struct hv_storvsc_request *request)
{
struct storvsc_device *stor_device;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ int storvsc_dev_add(struct hv_device *device,
void *additional_info);
int storvsc_dev_remove(struct hv_device *device);

int stor_vsc_on_io_request(struct hv_device *device,
int storvsc_do_io(struct hv_device *device,
struct hv_storvsc_request *request);
void storvsc_cleanup(struct hv_driver *driver);

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static int stor_vsc_initialize(struct hv_driver *driver)
stor_driver->base.dev_rm = storvsc_dev_remove;
stor_driver->base.cleanup = storvsc_cleanup;

stor_driver->on_io_request = stor_vsc_on_io_request;
stor_driver->on_io_request = storvsc_do_io;

return 0;
}
Expand Down

0 comments on commit bb46592

Please sign in to comment.