commit | cc738c1a69da27be8ff7885b4069fa02e45c75c1 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Tue Feb 20 13:23:37 2018 +1100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 22 15:03:22 2018 +0100 |
tree | 5d3945b53a11c9a25c072a36dd72e93f2fcc619e | |
parent | 5ebaa2d14850205e44757c4d5fdd4097712d01ef [diff] |
staging: lustre: opencode cfs_cap_{raise, lower, raised} Each of these functions is used precisely once, so having a separate exported function seems like overkill. cfs_cap_raised() is trivial - one line. cfs_cap_raise() and cfs_cap_lower() are used as a pair which is more effectively implemented with override_cred() / revert_creds(). Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>