Whamcloud - gitweb
LU-9859 libcfs: remove cfs_capable
authorPeng Tao <bergwolf@gmail.com>
Mon, 11 Jan 2021 15:49:38 +0000 (10:49 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 29 Jul 2023 07:51:53 +0000 (07:51 +0000)
commit9d5f5e4edc96d3cf17a20192acc62662df1f8bd3
tree39c3a45083b92c014d74811079108e6e151aafc2
parent18d59974e827b4cdad3125669b64a1496f71e074
LU-9859 libcfs: remove cfs_capable

Use capable() directly.

Linux-commit: 2eb90a757e9d953c9e2a8fce530422189992fb1b

Lustre-change: https://review.whamcloud.com/41783
Lustre-commit: e34fdc5479037bf7b6efed3239362585a1c1ff3b

Change-Id: Iadaa3c743a350def37558b23d954f5dfd4e0844a
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51741
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/libcfs/linux/linux-curproc.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/obdclass/class_obd.c
lustre/obdecho/echo_client.c
lustre/osc/osc_io.c