]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: get rid of read helpers
authorAlex Elder <elder@inktank.com>
Tue, 12 Mar 2013 04:34:23 +0000 (23:34 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:29 +0000 (21:17 -0700)
commit5b36d41c8970b8e37507af3c34efacec2dcc6526
tree1bf80f78424ce402a56a3782572652f42253e214
parentc79016b4503e6bb6d03667f3ef0f3d6995e01d62
libceph: get rid of read helpers

Now that read_partial_message_pages() and read_partial_message_bio()
are literally identical functions we can factor them out.  They're
pretty simple as well, so just move their relevant content into
read_partial_msg_data().

This is and previous patches together resolve:
    http://tracker.ceph.com/issues/4428

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