Whamcloud - gitweb
LU-9859 libcfs: remove linux-curproc.c 38/41938/10
authorMr. NeilBrown <neilb@suse.de>
Thu, 18 Mar 2021 21:57:03 +0000 (17:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Mar 2021 04:16:25 +0000 (04:16 +0000)
commitf6cd6a880cd03fd1d3fd3d8e03133f0835ad275d
treec9b6681fa9ad34b7ad799960fce044124b44894d
parentf265033840996dcdffb2f05a64b51b51391a273c
LU-9859 libcfs: remove linux-curproc.c

The only real functionality remaining here is
cfs_curproc_cap_pack(),
and it can be trivially implemented as an inline
in curproc.h.
So do that and remove the file.

The rest can be moved to jobid.c

Linux-commit: 37d3b407dc14a13ec8bba3a4d7737c92f996e9c0

Change-Id: I3546841fa44accb19d0867099c17b16ede48228e
Signed-off-by: Mr. NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/41938
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/curproc.h
libcfs/include/libcfs/linux/linux-misc.h
libcfs/libcfs/Makefile.in
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-curproc.c [deleted file]
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_restripe.c
lustre/obdclass/jobid.c
lustre/obdecho/echo_client.c