OSDN Git Service

libceph: use void pointers in page vector functions
authorAlex Elder <elder@inktank.com>
Wed, 6 Feb 2013 19:11:38 +0000 (13:11 -0600)
committerAlex Elder <elder@inktank.com>
Wed, 20 Feb 2013 01:14:04 +0000 (19:14 -0600)
commitb324814e8436772cb3367b14149ba003a9954525
tree37ab98802744072a3e348623f1c880ae11546203
parent9e0eb85d5861d512759caf1301670b36d4c221ed
libceph: use void pointers in page vector functions

The functions used for working with ceph page vectors are defined
with char pointers, but they're really intended to operate on
untyped data.  Change the types of these function parameters
to (void *) to reflect this.

(Note that the functions now assume void pointer arithmetic works
like arithmetic on char pointers.)

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
include/linux/ceph/libceph.h
net/ceph/pagevec.c