diff options
author | Al Viro <[email protected]> | 2019-07-27 08:29:57 -0400 |
---|---|---|
committer | Al Viro <[email protected]> | 2019-07-31 12:22:32 -0400 |
commit | c2c44ec20a8496f7a3b3401c092afe96908eced1 (patch) | |
tree | e5e8123b0cca114947fbb8a453e49a26fccdea40 /tools/perf/util/trace-event-scripting.c | |
parent | 19a1c4092e7ca1ad1a72ac5535f902c483372cd5 (diff) |
Unbreak mount_capable()
In "consolidate the capability checks in sget_{fc,userns}())" the
wrong argument had been passed to mount_capable() by sget_fc().
That mistake had been further obscured later, when switching
mount_capable() to fs_context has moved the calculation of
bogus argument from sget_fc() to mount_capable() itself. It
should've been fc->user_ns all along.
Screwed-up-by: Al Viro <[email protected]>
Reported-by: Christian Brauner <[email protected]>
Tested-by: Christian Brauner <[email protected]>
Reviewed-by: David Howells <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions