From: Sage Weil Date: Tue, 31 Jul 2012 01:19:30 +0000 (-0700) Subject: libceph: change ceph_con_in_msg_alloc convention to be less weird X-Git-Tag: v3.6-rc1~36^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4740a623d20c51d167da7f752b63e2b8714b2543;p=pandora-kernel.git libceph: change ceph_con_in_msg_alloc convention to be less weird This function's calling convention is very limiting. In particular, we can't return any error other than ENOMEM (and only implicitly), which is a problem (see next patch). Instead, return an normal 0 or error code, and make the skip a pointer output parameter. Drop the useless in_hdr argument (we have the con pointer). Signed-off-by: Sage Weil Reviewed-by: Alex Elder --- Reading git-diff-tree failed