Whamcloud - gitweb
LU-6032 obdclass: new wrapper to convert NID to string 56/12956/14
authorLiang Zhen <liang.zhen@intel.com>
Fri, 5 Dec 2014 14:06:52 +0000 (22:06 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:46:31 +0000 (19:46 +0000)
commit61f9847a812f95d5140edee1fb25bfbe6cb70bb7
tree068f20208e9ab0e47f73910a3c664bde5f9c3ea1
parent292aa42e0897ec4db0c07d00a3f050c19b3f908d
LU-6032 obdclass: new wrapper to convert NID to string

This patch includes a couple of changes:
- add new wrapper function obd_import_nid2str
- use obd_import_nid2str and obd_export_nid2str to replace all
  libcfs_nid2str conversions for NID of export/import connection

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Change-Id: I57d08e6ef902c6a34c705663de0ed73bb3dc76f2
Reviewed-on: https://review.whamcloud.com/12956
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_class.h
lustre/ldlm/ldlm_lock.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_recovery.c
lustre/obdclass/genops.c
lustre/ptlrpc/client.c
lustre/ptlrpc/import.c