Whamcloud - gitweb
LU-9859 mdd: unwind md_capable() 80/44580/8
authorJames Simmons <jsimmons@infradead.org>
Tue, 17 Aug 2021 14:16:41 +0000 (10:16 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Dec 2021 03:53:16 +0000 (03:53 +0000)
commit993808978803771748b2c4bb3982baf01482ce5e
tree862a6656b2d2a7fdddcde5a9b1f6a707ee8c79f4
parente6104b34603ba924c9d0c94951641f1ae9b09781
LU-9859 mdd: unwind md_capable()

The inline function md_capable() is just a wrapper
around cap_raised() which adds little benefit. Lets
just remove the use of this wrapper.

Change-Id: I1a5f4b2e34b4cf358b52b3fc4bdeff17fdab50c9
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44580
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/md_object.h
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_object.c
lustre/mdd/mdd_permission.c
lustre/mdd/mdd_trans.c