libceph: fix socket write error handling
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>
Sage Weil 15 years ago 42961d23 98bdb0aa