Staging: hv: Rename the function stor_vsc_on_io_request
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:54:02 +0000 (07:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:38:58 +0000 (13:38 -0700)
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>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/storvsc.c
drivers/staging/hv/storvsc_api.h
drivers/staging/hv/storvsc_drv.c

index e028db2cc024f6c2ca14ba4030b5e2f971b54608..8564718aa91ff0bbd58442e7c1042be14e988e46 100644 (file)
@@ -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;
 }
index 2e276b4d96dd15e8d40c629431bb84e4b5cbfd11..867eba1b5a7876e8359eb7e9a965b1f1358e9a97 100644 (file)
@@ -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;
index 3168161d0a172340aae0698700d33b19d6f1d951..f8c724be22bc721f5d0616127f3cb9aec6511ca3 100644 (file)
@@ -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);
 
index 86f2bab0b6c8e1c9e61b97fcdb85852f28bb740c..799231cb8e20fcb3f2846208044b7dd2b1fd7bc5 100644 (file)
@@ -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;
 }