]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crush: clean up types, const-ness
authorSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:38:35 +0000 (15:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:03 +0000 (11:38 -0800)
commit506b4672ace55889c16d4e9d5515e0c1ae7832d5
tree36da5c2597634f1398bb0f0d8cfdcec2fc617569
parent55649211861616c26aa25c9e710c5691837975e4
crush: clean up types, const-ness

(cherry picked from commit 8b12d47b80c7a34dffdd98244d99316db490ec58)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/crush/crush.h
include/linux/crush/mapper.h
net/ceph/crush/crush.c
net/ceph/crush/mapper.c