]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: remove compilation warning
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 15 Oct 2008 22:15:09 +0000 (15:15 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 15 Oct 2008 22:15:09 +0000 (15:15 -0700)
src/crush/mapper.c

index 31d4cfc0678321908a28314e6b7e2a475aa138f2..9b20278d8c18bb583067335a916a2df7fc0502f4 100644 (file)
@@ -14,7 +14,7 @@
 
 
 
-static int crush_find_rule(struct crush_map *map, int pool, int type, int size)
+int crush_find_rule(struct crush_map *map, int pool, int type, int size)
 {
        int i;
        for (i = 0; i < map->max_rules; i++) {
@@ -287,7 +287,7 @@ static int crush_choose(struct crush_map *map,
 }
 
 
-static int crush_do_rule(struct crush_map *map,
+int crush_do_rule(struct crush_map *map,
                  int ruleno, int x, int *result, int result_max,
                  int force)    /* -1 for none */
 {