libceph: fix socket write error handling
authorSage Weil <sage@newdream.net>
Tue, 25 Jan 2011 16:19:34 +0000 (08:19 -0800)
committerSage Weil <sage@newdream.net>
Tue, 25 Jan 2011 16:19:34 +0000 (08:19 -0800)
Pass errors from writing to the socket up the stack.  If we get -EAGAIN,
return 0 from the helper to simplify the callers' checks.

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found