Whamcloud - gitweb
LU-6245 libcfs: create userland and kernel string operations 35/13835/8
authorJames Simmons <uja.ornl@gmail.com>
Mon, 30 Mar 2015 19:03:21 +0000 (15:03 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Apr 2015 03:01:31 +0000 (03:01 +0000)
commit05d13ca333a3158a98f0c0e048a85564c6b9ed88
treeec3490e195a962d0e78b8e707696c9233ff8d428
parente21b3025fa9f6bf7b02451ee0e7537306cafc1b8
LU-6245 libcfs: create userland and kernel string operations

Additonal string handling and NID string parsing code are both
used by kernel space and user land. This prevents us from
moving forward for cleaning up the userland and kernel space
headers. With the code duplicated for both environments we
can then clean up the headers independently. Since NID string
handling is only done for LNET we move it there.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I5fccdae61322d0bace7094a36d2e551d719c4982
Reviewed-on: http://review.whamcloud.com/13835
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
20 files changed:
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_string.h
libcfs/include/libcfs/util/Makefile.am
libcfs/include/libcfs/util/string.h [new file with mode: 0644]
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/libcfs_string.c
libcfs/libcfs/module.c
libcfs/libcfs/user-string.c [deleted file]
libcfs/libcfs/util/Makefile.am
libcfs/libcfs/util/nidstrings.c [new file with mode: 0644]
libcfs/libcfs/util/string.c [new file with mode: 0644]
lnet/include/lnet/nidstr.h
lnet/lnet/Makefile.in
lnet/lnet/autoMakefile.am
lnet/lnet/config.c
lnet/lnet/nidstrings.c [moved from libcfs/libcfs/nidstrings.c with 80% similarity]
lustre/include/obd.h
lustre/utils/Makefile.am
lustre/utils/liblustreapi.c