diff options
author | Sage Weil <sage@inktank.com> | 2012-07-30 18:19:30 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-30 18:19:30 -0700 |
commit | 4740a623d20c51d167da7f752b63e2b8714b2543 (patch) | |
tree | 25616d4073f56a2383fd155c457d97603d65b220 /lib | |
parent | 8636ea672f0c5ab7478c42c5b6705ebd1db7eb6a (diff) | |
download | linux-3.10-4740a623d20c51d167da7f752b63e2b8714b2543.tar.gz linux-3.10-4740a623d20c51d167da7f752b63e2b8714b2543.tar.bz2 linux-3.10-4740a623d20c51d167da7f752b63e2b8714b2543.zip |
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 <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions