ceph: messenger: check prepare_write_connect() result
authorAlex Elder <elder@inktank.com>
Thu, 17 May 2012 02:51:59 +0000 (21:51 -0500)
committerAlex Elder <elder@dreamhost.com>
Thu, 17 May 2012 13:18:12 +0000 (08:18 -0500)
commit5a0f8fdd8a0ebe320952a388331dc043d7e14ced
tree64218dc46ca530cdd363f58d7a20e9c8dad23375
parente10c758e4031a801ea4d2f8fb39bf14c2658d74b
ceph: messenger: check prepare_write_connect() result

prepare_write_connect() can return an error, but only one of its
callers checks for it.  All the rest are in functions that already
return errors, so it should be fine to return the error if one
gets returned.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c