diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-29 15:40:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:54 -0700 |
commit | bfc30aae73b6be57528059a9e03ce8674320e67b (patch) | |
tree | a94df22326528889e86f51d4634a66a416dbb38e /drivers/staging/hv/StorVsc.c | |
parent | fa56d361b07513cba87cc5c2b57f3f51248f89a8 (diff) |
Staging: hv: osd: add osd_ prefix to global functions
Put a "osd_" prefix on the osd.c functions in order for us to play nicer
in the kernel namespace.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/StorVsc.c')
-rw-r--r-- | drivers/staging/hv/StorVsc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/hv/StorVsc.c b/drivers/staging/hv/StorVsc.c index 09e3eda78e3..47de70b0d82 100644 --- a/drivers/staging/hv/StorVsc.c +++ b/drivers/staging/hv/StorVsc.c @@ -378,7 +378,7 @@ static int StorVscChannelInit(struct hv_device *Device) /* Now, initiate the vsc/vsp initialization protocol on the open channel */ memset(request, sizeof(STORVSC_REQUEST_EXTENSION), 0); - request->WaitEvent = WaitEventCreate(); + request->WaitEvent = osd_WaitEventCreate(); vstorPacket->Operation = VStorOperationBeginInitialization; vstorPacket->Flags = REQUEST_COMPLETION_FLAG; @@ -401,7 +401,7 @@ static int StorVscChannelInit(struct hv_device *Device) goto Cleanup; } - WaitEventWait(request->WaitEvent); + osd_WaitEventWait(request->WaitEvent); if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0) { @@ -431,7 +431,7 @@ static int StorVscChannelInit(struct hv_device *Device) goto Cleanup; } - WaitEventWait(request->WaitEvent); + osd_WaitEventWait(request->WaitEvent); /* TODO: Check returned version */ if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0) @@ -461,7 +461,7 @@ static int StorVscChannelInit(struct hv_device *Device) goto Cleanup; } - WaitEventWait(request->WaitEvent); + osd_WaitEventWait(request->WaitEvent); /* TODO: Check returned version */ if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0) @@ -495,7 +495,7 @@ static int StorVscChannelInit(struct hv_device *Device) goto Cleanup; } - WaitEventWait(request->WaitEvent); + osd_WaitEventWait(request->WaitEvent); if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0) { @@ -649,7 +649,7 @@ StorVscOnHostReset( request = &storDevice->ResetRequest; vstorPacket = &request->VStorPacket; - request->WaitEvent = WaitEventCreate(); + request->WaitEvent = osd_WaitEventCreate(); vstorPacket->Operation = VStorOperationResetBus; vstorPacket->Flags = REQUEST_COMPLETION_FLAG; @@ -668,7 +668,7 @@ StorVscOnHostReset( } /* FIXME: Add a timeout */ - WaitEventWait(request->WaitEvent); + osd_WaitEventWait(request->WaitEvent); kfree(request->WaitEvent); DPRINT_INFO(STORVSC, "host adapter reset completed"); @@ -959,7 +959,7 @@ StorVscOnChannelCallback( memcpy(&request->VStorPacket, packet, sizeof(VSTOR_PACKET)); - WaitEventSet(request->WaitEvent); + osd_WaitEventSet(request->WaitEvent); } else { |