crush: clean up types, const-ness
authorSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:38:35 +0000 (15:38 -0700)
committerSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:38:35 +0000 (15:38 -0700)
commit8b12d47b80c7a34dffdd98244d99316db490ec58
treefb97986bc823ebcce487d573fc83ee3b1c8f5f98
parente49bf4c51cbe27439c00516d4297193d45dd4097
crush: clean up types, const-ness

Move various types from int -> __u32 (or similar), and add const as
appropriate.

This reflects changes that have been present in the userland implementation
for some time.

Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
include/linux/crush/crush.h
include/linux/crush/mapper.h
net/ceph/crush/crush.c
net/ceph/crush/mapper.c