Whamcloud - gitweb
LU-9859 lustre: remove current_pid() and current_comm() 76/37776/3
authorNeilBrown <neilb@suse.com>
Mon, 2 Mar 2020 17:37:35 +0000 (12:37 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 11 Mar 2020 02:19:33 +0000 (02:19 +0000)
commitee7ca785615f2da71932512d8545763836ef8197
tree7d95c16701d80de63daf841c8b4a92782ec891b5
parent8ae646b1bd11066fef65d7fac18621946ddff6da
LU-9859 lustre: remove current_pid() and current_comm()

Just use current->pid and current->comm directly, instead
of having wrappers.

Linux-commit: 63fd7d04580b6345ff1e0aab906c034f973d493e

Test-Parameters: trivial
Change-Id: I278f32d6dd8c370a7ab211c5147ee8d246ea1893
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/37776
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
18 files changed:
libcfs/include/libcfs/curproc.h
libcfs/libcfs/debug.c
libcfs/libcfs/linux-debug.c
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lock.c
lustre/lfsck/lfsck_engine.c
lustre/llite/llite_internal.h
lustre/llite/statahead.c
lustre/lov/lov_merge.c
lustre/lov/lov_obd.c
lustre/mdt/mdt_coordinator.c
lustre/obdclass/jobid.c
lustre/osc/osc_request.c
lustre/osp/osp_dev.c
lustre/ptlrpc/client.c
lustre/ptlrpc/gss/gss_keyring.c
lustre/ptlrpc/service.c
lustre/target/tgt_handler.c