Whamcloud - gitweb
LU-9859 libcfs: fold cfs_tracefile_*_arch into their only callers. 17/39117/2
authorMr NeilBrown <neilb@suse.de>
Sat, 20 Jun 2020 02:47:19 +0000 (22:47 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 28 Jun 2020 02:48:54 +0000 (02:48 +0000)
commit068cf5c7cd29cc1c27effb71ff9b511d14207147
treeca39bf971f650ece946bd60dd58ac3043fe5fb79
parentd6bbba7da72e7d9d4046a8c26be51c7535b26eb5
LU-9859 libcfs: fold cfs_tracefile_*_arch into their only callers.

There is no need to separate "arch" init/fini from
the rest, so fold it all in.
This requires some slightly subtle changes to clean-up
to make sure we don't walk lists before they are
initialized.

Test-Parameters: trivial

Change-Id: Id78385cfc29ab3d5162a5fb84283e7a6ce6bf91a
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Reviewed-on: https://review.whamcloud.com/39117
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/tracefile.c
libcfs/libcfs/tracefile.h