]> git.baikalelectronics.ru Git - kernel.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)
commit5e470c4ff2446f8e922b8ed8133100df8009998c
tree1d22ae5f71a1c7f3b025366e3deef4c1baa7f63d
parenta7bbafd4da094ca9a1fe42b5c5ab95346899933d
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