]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: kill args in read_partial_message_bio()
authorAlex Elder <elder@inktank.com>
Sat, 9 Mar 2013 00:51:03 +0000 (18:51 -0600)
committerGreg Farnum <greg@inktank.com>
Wed, 13 Mar 2013 00:45:05 +0000 (17:45 -0700)
commit6c5f6120f32df00b7c4b025093d5485a860b3396
tree3567e5596414878a7d79e6f2686582c7b374b20c
parent50148c562810a22171610d2cad243d6c99659871
libceph: kill args in read_partial_message_bio()

There is only one caller for read_partial_message_bio(), and it
always passes &msg->bio_iter and &bio_seg as the second and third
arguments.  Furthermore, the message in question is always the
connection's in_msg, and we can get that inside the called function.

So drop those two parameters and use their derived equivalents.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/messenger.c