]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/crush/mapper.h
netfilter: nat: fix src map lookup
[mirror_ubuntu-artful-kernel.git] / include / linux / crush / mapper.h
index c95e19e1ff11c5f69e4b3d05d328ce071ef74856..141edabb947e31524b0256504ad52582cb2a45a8 100644 (file)
 #include "crush.h"
 
 extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size);
-extern int crush_do_rule(const struct crush_map *map,
-                        int ruleno,
-                        int x, int *result, int result_max,
-                        const __u32 *weights, int weight_max,
-                        void *cwin);
+int crush_do_rule(const struct crush_map *map,
+                 int ruleno, int x, int *result, int result_max,
+                 const __u32 *weight, int weight_max,
+                 void *cwin, const struct crush_choose_arg *choose_args);
 
 /*
  * Returns the exact amount of workspace that will need to be used