diff options
author | Mateusz Guzik <[email protected]> | 2024-06-20 14:03:59 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-06-25 11:15:47 +0200 |
commit | 5e362bd5eecdd7ccafc9611a108a53423ccd5065 (patch) | |
tree | 7b6dde351dcc0191e1b87fe7c1768d1f9beafc14 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 26a2ed107929a855155429b11e1293b83e6b2a8b (diff) |
vfs: reorder checks in may_create_in_sticky
The routine is called for all directories on file creation and weirdly
postpones the check if the dir is sticky to begin with. Instead it first
checks fifos and regular files (in that order), while avoidably pulling
globals.
No functional changes.
Signed-off-by: Mateusz Guzik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions