mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
hv: vmbus: missing curly braces in vmbus_process_offer()
The indenting makes it clear that there were curly braces intended here.
Fixes: 2dd37cb815
('Drivers: hv: vmbus: Handle both rescind and offer messages in the same context')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5ef5b6927f
commit
177757423f
@ -415,7 +415,7 @@ static void vmbus_process_offer(struct vmbus_channel *newchannel)
|
||||
|
||||
newchannel->state = CHANNEL_OPEN_STATE;
|
||||
channel->num_sc++;
|
||||
if (channel->sc_creation_callback != NULL)
|
||||
if (channel->sc_creation_callback != NULL) {
|
||||
/*
|
||||
* We need to invoke the sub-channel creation
|
||||
* callback; invoke this in a seperate work
|
||||
@ -427,6 +427,7 @@ static void vmbus_process_offer(struct vmbus_channel *newchannel)
|
||||
vmbus_sc_creation_cb);
|
||||
queue_work(newchannel->controlwq,
|
||||
&newchannel->work);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user