From: Alex Elder Date: Tue, 19 Feb 2013 18:25:57 +0000 (-0600) Subject: libceph: use a do..while loop in con_work() X-Git-Tag: v3.9-rc1~41^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49659416ba4fa8308bd29e453f54c3bcf8a0fbf1;p=pandora-kernel.git libceph: use a do..while loop in con_work() This just converts a manually-implemented loop into a do..while loop in con_work(). It also moves handling of EAGAIN inside the blocks where it's already been determined an error code was returned. Also update a few dout() calls near the affected code for consistency. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed