diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-05-20 18:32:31 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-06-01 10:29:39 +0200 |
commit | 480ce08a70e4179f34808a3bdbfe6627f624cf54 (patch) | |
tree | 7355b4c18651ff54653cede0a82a52c3631e535f /fs/ceph | |
parent | d2138455286f9db8fbff9b50b53b51766f6c1f92 (diff) | |
download | linux-480ce08a70e4179f34808a3bdbfe6627f624cf54.tar.gz linux-480ce08a70e4179f34808a3bdbfe6627f624cf54.tar.bz2 linux-480ce08a70e4179f34808a3bdbfe6627f624cf54.zip |
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>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions