commit | 480ce08a70e4179f34808a3bdbfe6627f624cf54 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Fri May 20 18:32:31 2016 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Jun 01 10:29:39 2016 +0200 |
tree | 7355b4c18651ff54653cede0a82a52c3631e535f | |
parent | d2138455286f9db8fbff9b50b53b51766f6c1f92 [diff] |
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: Yan, Zheng <zyan@redhat.com> Acked-by: David Howells <dhowells@redhat.com>