Whamcloud - gitweb
LU-6245 libcfs: move struct netstrfns to nidstr.h 83/15083/2
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 29 May 2015 23:31:52 +0000 (19:31 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 5 Jun 2015 01:49:05 +0000 (01:49 +0000)
commitd231bc874075672d3302727e53baef8f4dd03287
tree32591d7f5131d34dfc94062245daf6df12ff9edd
parentbcc52fdccc92c45f657d637eaf8403decc6d9877
LU-6245 libcfs: move struct netstrfns to nidstr.h

The reason struct netstrfns exist in nidstrings.c
was to avoid forward decleration errors. The best
way to handle this instead is to move this structure
to a header file. Since this structure is used in
the userland utilities as well so we place it in
nidstr.h which is exposed to userland.

Change-Id: I02610e90a8d252defc9e8778f9f86be5ab2de9fe
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/15083
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/libcfs/util/nidstrings.c
lnet/include/lnet/nidstr.h
lnet/lnet/nidstrings.c