Whamcloud - gitweb
LU-9859 libcfs: remove cfs_capable 83/41783/3
authorPeng Tao <bergwolf@gmail.com>
Mon, 11 Jan 2021 15:49:38 +0000 (10:49 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Mar 2021 18:34:14 +0000 (18:34 +0000)
commite34fdc5479037bf7b6efed3239362585a1c1ff3b
treeec6eec702415ffed5d6ec1b15a95d702598cd7c8
parentb66b530c18c910ded562e279c9db02fcdad42176
LU-9859 libcfs: remove cfs_capable

Use capable() directly.

Linux-commit: 2eb90a757e9d953c9e2a8fce530422189992fb1b

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/41783
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@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