summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2015-01-14 01:55:10 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-25 09:17:58 -0800
commitd9b1652947c695d247b5e4603a16213ec55661ed (patch)
treed9d5b81e2b05aeadc3eebda0dac8f20859e89097 /drivers/char
parentd61031ee8df6214d58371a1cc36a0591e242fba0 (diff)
downloadtalos-op-linux-d9b1652947c695d247b5e4603a16213ec55661ed.tar.gz
talos-op-linux-d9b1652947c695d247b5e4603a16213ec55661ed.zip
hv: hv_fcopy: drop the obsolete message on transfer failure
In the case the user-space daemon crashes, hangs or is killed, we need to down the semaphore, otherwise, after the daemon starts next time, the obsolete data in fcopy_transaction.message or fcopy_transaction.fcopy_msg will be used immediately. Cc: Jason Wang <jasowang@redhat.com> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud