]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b319a4dfb1a8dc975327884117619aa739b7163
tree7858f28e3a3c5ff1f0dc6f6165251c68b9709b4d
parente928f7909a98ca24d10064e504fc1a68230d7fe1
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>
net/ceph/messenger.c