mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 17:51:57 +09:00
staging: lustre: Use kernel's strncasecmp and remove cfs_get_blocked_sigs
Remove libcfs function cfs_strncasecmp() since the kernel already has its own strncasecmp(). Lastly remove from libcfs.h cfs_get_blocked_sigs() since this function no longer exist. Signed-off-by: James Simmons <uja.ornl@gmail.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3963 Reviewed-on: http://review.whamcloud.com/13070 Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: Bob Glossman <bob.glossman@intel.com> Reviewed-by: Patrick Farrell <paf@cray.com> Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9581c2c44e
commit
0d8be84108
@@ -90,7 +90,6 @@ void cfs_enter_debugger(void);
|
||||
* Defined by platform
|
||||
*/
|
||||
int unshare_fs_struct(void);
|
||||
sigset_t cfs_get_blocked_sigs(void);
|
||||
sigset_t cfs_block_allsigs(void);
|
||||
sigset_t cfs_block_sigs(unsigned long sigs);
|
||||
sigset_t cfs_block_sigsinv(unsigned long sigs);
|
||||
|
||||
@@ -44,8 +44,6 @@
|
||||
#define __LIBCFS_STRING_H__
|
||||
|
||||
/* libcfs_string.c */
|
||||
/* string comparison ignoring case */
|
||||
int cfs_strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
/* Convert a text string to a bitmask */
|
||||
int cfs_str2mask(const char *str, const char *(*bit2str)(int bit),
|
||||
int *oldmask, int minmask, int allmask);
|
||||
|
||||
Reference in New Issue
Block a user