From: Timo Teräs Date: Wed, 15 Dec 2010 18:48:09 +0000 (+0200) Subject: staging: hv: convert channel_mgmt.c to not call osd_schedule_callback X-Git-Tag: v2.6.38-rc1~423^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b2f9abea52af3782d349080fca5e189b0693792;p=pandora-kernel.git staging: hv: convert channel_mgmt.c to not call osd_schedule_callback The additional abstraction is unneeded. The three calls are assumed to not be pending simultaneously: - vmbus_onoffer queues work exactly once when a new channel is created, the channel is not attached to lists until the work is executed - vmbus_onoffer_rescind is received only when the channel is active it is enough to process the work once - free_channel is called exactly once when the channel is getting destroyed; I assumed that vmbus_process_rescind_offer cannot be pending while free_channel is called Reviewed-By: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Timo Teräs Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed