diff options
author | Colin Ian King <[email protected]> | 2021-05-06 18:02:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-05-06 19:24:11 -0700 |
commit | f4bf74d82915708208bc9d0c9bd3f769f56bfbec (patch) | |
tree | b9e96cd6cfb66687f3e31979cc4e93a0b9c4d15e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0214967a376d0726baf35cc2845a59ac17ef4db1 (diff) |
fs/proc/generic.c: fix incorrect pde_is_permanent check
Currently the pde_is_permanent() check is being run on root multiple times
rather than on the next proc directory entry. This looks like a
copy-paste error. Fix this by replacing root with next.
Addresses-Coverity: ("Copy-paste error")
Link: https://lkml.kernel.org/r/[email protected]
Fixes: d919b33dafb3 ("proc: faster open/read/close with "permanent" files")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Reviewed-by: Alexey Dobriyan <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions