]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit010e9e0a02fa6dfc421a923df219f67748973d1a
treefb97986bc823ebcce487d573fc83ee3b1c8f5f98
parent9929bc8331678134d8cbb24b042092db333b6872
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