From: Alex Elder Date: Tue, 14 Feb 2012 20:05:33 +0000 (-0600) Subject: libceph: encapsulate connection kvec operations X-Git-Tag: v3.4-rc1~76^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859eb7994876f26fd9f52d9589fbcab8e2fe8069;p=pandora-kernel.git libceph: encapsulate connection kvec operations Encapsulate the operation of adding a new chunk of data to the next open slot in a ceph_connection's out_kvec array. Also add a "reset" operation to make subsequent add operations start at the beginning of the array again. Use these routines throughout, avoiding duplicate code and ensuring all calls are handled consistently. Signed-off-by: Alex Elder Signed-off-by: Sage Weil --- Reading git-diff-tree failed