Whamcloud - gitweb
LU-10515 utils: remove obd.c dependencies from lustre_rsync 70/30870/4
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 15 Jan 2018 19:15:07 +0000 (13:15 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 25 Jan 2018 04:48:10 +0000 (04:48 +0000)
commitb0094482bba79f198f1fe37af3627694428fc6c6
treeabab3faf6589a97afda3f4b36c76001ccecb329b
parente954d93f264d8ae559cbd41ed6d7b977674dd42b
LU-10515 utils: remove obd.c dependencies from lustre_rsync

lustre_rsync does not depend on /dev/obd and therefore should not call
register_ioc_dev(OBD_DEV_ID, OBD_DEV_PATH). So remove the
call. Replace erroneous uses of D_TRACE with the locally defined
DTRACE constant. Remove unneeded includes.

Test-Parameters: trivial testlist=lustre-rsync-test

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I3251469d48f4c60106dd14d1bf97e159a147688c
Reviewed-on: https://review.whamcloud.com/30870
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lustre_rsync.c