crush: include header for global symbols
Subsystems (3)
PATCH 1/1 crush: include header for global symbols
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 <[email protected]>
Cc Sage Weil <[email protected]>
Cc "David S. Miller" <[email protected]>
---
net/ceph/crush/mapper.c +1 -0
@@ -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.
From: H Hartley Sweeten <[email protected]>
Date: Tue, 24 Apr 2012 17:38:37 -0700
Quoted 8 lines
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 <[email protected]>
Applied.