summaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-06-11 14:57:13 -0500
committerSage Weil <sage@inktank.com>2012-07-05 21:14:12 -0700
commit84ca8fc87fcf4ab97bb8acdb59bf97bb4820cb14 (patch)
treee1d859e4e6742cb872b06d323a909f648af62c7f /mm/slob.c
parent739c905baa018c99003564ebc367d93aa44d4861 (diff)
libceph: encapsulate advancing msg page
In write_partial_msg_pages(), once all the data from a page has been sent we advance to the next one. Put the code that takes care of this into its own function. While modifying write_partial_msg_pages(), make its local variable "in_trail" be Boolean, and use the local variable "msg" (which is just the connection's current out_msg pointer) consistently. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions