string.h is intended for user space and libcfs_string.h
is intended for kernel space. Use string.h in liblnetconfig
library.
Add cfs_expr_list_values() in the string.h header file since
it's used in liblnetconfig library.
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I50b1bb1aff6fe176cfbe28f039f34d063c9265e4
Reviewed-on: http://review.whamcloud.com/21874
Tested-by: Jenkins
Reviewed-by: Olaf Weber <olaf@sgi.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
struct list_head el_exprs;
};
+int cfs_expr_list_values(struct cfs_expr_list *expr_list, int max, __u32 **valpp);
int cfs_gettok(struct cfs_lstr *next, char delim, struct cfs_lstr *res);
int cfs_str2num_check(char *str, int nob, unsigned *num,
unsigned min, unsigned max);
#include <lnet/socklnd.h>
#include "liblnd.h"
#include <lnet/lnet.h>
-#include <libcfs/libcfs_string.h>
#include <sys/types.h>
#include <ifaddrs.h>
#include "liblnetconfig.h"
#define LUSTRE_CFG_RC_MATCH -7
#include <lnet/lnet.h>
-#include <libcfs/libcfs_string.h>
+#include <libcfs/util/string.h>
struct lnet_dlc_network_descr {
struct list_head network_on_rule;