Skip to content
Commit 02e5ad97 authored by Al Viro's avatar Al Viro
Browse files

perf_event_get(): don't bother with fget_raw()



... since we immediately follow that with check that it *is* an
opened perf file, with O_PATH ones ending with with the same
-EBADF we'd get for descriptor that isn't opened at all.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8811249f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment