Whamcloud - gitweb
LU-9859 libcfs: remove linux-curproc.c
authorMr. NeilBrown <neilb@suse.de>
Thu, 18 Mar 2021 21:57:03 +0000 (17:57 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 29 Jul 2023 07:52:05 +0000 (07:52 +0000)
commit75858075749af5aa3a07c144bda0b1db7a54a0e8
treeab93de7f4be5b99ea2817f1ea378281b37a437a7
parent9d5f5e4edc96d3cf17a20192acc62662df1f8bd3
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

Lustre-change: https://review.whamcloud.com/41938
Lustre-commit: f6cd6a880cd03fd1d3fd3d8e03133f0835ad275d

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/c/ex/lustre-release/+/51742
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@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