sheepdog: fix send req helpers
authorLiu Yuan <tailai.ly@taobao.com>
Tue, 3 Apr 2012 10:04:21 +0000 (18:04 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:41 +0000 (14:54 +0200)
commiteb09218077a495bc55d84de91f448f72fe78a60b
tree2f944e98188d66ebb1fa7fbb0350307828eac4f9
parent47622c44d0d9a717c1a8f7f5fec6c25ff3b30eec
sheepdog: fix send req helpers

We should return if reading of the header fails.

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Acked-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c