]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
crush: include header for global symbols
authorhartleys <hartleys@visionengravers.com>
Tue, 24 Apr 2012 14:38:37 +0000 (14:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2012 04:03:34 +0000 (00:03 -0400)
Include the header to pickup the definitions of the global symbols.

Quiets the following sparse warnings:

warning: symbol 'crush_find_rule' was not declared. Should it be static?
warning: symbol 'crush_do_rule' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Sage Weil <sage@newdream.net>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ceph/crush/mapper.c

index 854ac53f56cd2cafde20584110bd4eb260d3fd93..363f8f7e6c3caa15fa03d0bcea1967b731f2ae1d 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/crush/crush.h>
 #include <linux/crush/hash.h>
+#include <linux/crush/mapper.h>
 
 /*
  * Implement the core CRUSH mapping algorithm.