summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2021-05-06 18:02:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-06 19:24:11 -0700
commit1dcdd7ef96ba11cf7c6a965114577b3509adb7cd (patch)
tree305d9599ec8d521fb15e32fc416d01a80a69f184 /tools
parentd4455faccd6cbe11ddfdbe28723a2122453b4f4e (diff)
downloadlinux-stable-1dcdd7ef96ba11cf7c6a965114577b3509adb7cd.tar.gz
linux-stable-1dcdd7ef96ba11cf7c6a965114577b3509adb7cd.tar.bz2
linux-stable-1dcdd7ef96ba11cf7c6a965114577b3509adb7cd.zip
proc: delete redundant subset=pid check
Two checks in lookup and readdir code should be enough to not have third check in open code. Can't open what can't be looked up? Link: https://lkml.kernel.org/r/YFYYwIBIkytqnkxP@localhost.localdomain Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Alexey Gladkov <gladkov.alexey@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions