Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 480ce08a authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov
Browse files

FS-Cache: make check_consistency callback return int



__fscache_check_consistency() calls check_consistency() callback
and return the callback's return value. But the return type of
check_consistency() is bool. So __fscache_check_consistency()
return 1 if the cache is inconsistent. This is inconsistent with
the document.

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
parent d2138455
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment