提交 bb465926 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Staging: hv: Rename the function stor_vsc_on_io_request

Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: NHank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 896ee015
......@@ -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;
}
......
......@@ -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;
......
......@@ -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);
......
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册