diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-12-17 09:19:08 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-04 11:10:49 -0500 |
commit | e36cffed20a324e116f329a94061ae30dd26fb51 (patch) | |
tree | 9756d804c5a01f327ccc24ca60fa228ff5667f23 /crypto | |
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 <viro@zeniv.linux.org.uk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions