Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2748 fsfilt: ext4_map_inode_page in osd and ldisk out of sync
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
libcfs_string.c
diff --git
a/libcfs/libcfs/libcfs_string.c
b/libcfs/libcfs/libcfs_string.c
index
00a732a
..
db376b5
100644
(file)
--- a/
libcfs/libcfs/libcfs_string.c
+++ b/
libcfs/libcfs/libcfs_string.c
@@
-27,7
+27,7
@@
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012,
Whamcloud, Inc
.
+ * Copyright (c) 2012,
Intel Corporation
.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-40,14
+40,10
@@
* Author: Nathan Rutman <nathan.rutman@sun.com>
*/
* Author: Nathan Rutman <nathan.rutman@sun.com>
*/
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
-
#include <libcfs/libcfs.h>
/* non-0 = don't match */
#include <libcfs/libcfs.h>
/* non-0 = don't match */
-
static
int cfs_strncasecmp(const char *s1, const char *s2, size_t n)
+int cfs_strncasecmp(const char *s1, const char *s2, size_t n)
{
if (s1 == NULL || s2 == NULL)
return 1;
{
if (s1 == NULL || s2 == NULL)
return 1;
@@
-64,6
+60,7
@@
static int cfs_strncasecmp(const char *s1, const char *s2, size_t n)
return tolower(*(unsigned char *)s1) - tolower(*(unsigned char *)s2);
}
return tolower(*(unsigned char *)s1) - tolower(*(unsigned char *)s2);
}
+EXPORT_SYMBOL(cfs_strncasecmp);
/* Convert a text string to a bitmask */
int cfs_str2mask(const char *str, const char *(*bit2str)(int bit),
/* Convert a text string to a bitmask */
int cfs_str2mask(const char *str, const char *(*bit2str)(int bit),