diff options
author | Jens Axboe <[email protected]> | 2020-12-17 09:19:08 -0700 |
---|---|---|
committer | Al Viro <[email protected]> | 2021-01-04 11:10:49 -0500 |
commit | e36cffed20a324e116f329a94061ae30dd26fb51 (patch) | |
tree | 9756d804c5a01f327ccc24ca60fa228ff5667f23 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 26ddb45e13a3e09f5f5517a3c9d6510208181516 (diff) |
fs: make unlazy_walk() error handling consistent
Most callers check for non-zero return, and assume it's -ECHILD (which
it always will be). One caller uses the actual error return. Clean this
up and make it fully consistent, by having unlazy_walk() return a bool
instead. Rename it to try_to_unlazy() and return true on success, and
failure on error. That's easier to read.
No functional changes in this patch.
Cc: Al Viro <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions