]> git.karo-electronics.de Git - linux-beck.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)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:32 +0000 (21:16 -0700)
commitb3d56fab333bbb3ac7300843d69e52d7bd8a016b
tree1d22ae5f71a1c7f3b025366e3deef4c1baa7f63d
parente1dcb128f88958e7212fdd7ceebba4f84d6bc47a
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