ceph: ceph_frag_contains_value can be boolean
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Tue, 17 Nov 2015 06:52:19 +0000 (14:52 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Jan 2016 18:36:07 +0000 (19:36 +0100)
commit79a3ed2e98557a2844e75c203e742f9c229ad1d3
tree62ca3d287fd1427033cdbce70e9cd673f896b4d9
parenteade1fe75fd3ad89c10d011969c0eed8f13e28e0
ceph: ceph_frag_contains_value can be boolean

This patch makes ceph_frag_contains_value return bool to improve
readability due to this particular function only using either one or
zero as its return value.

No functional change.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
include/linux/ceph/ceph_frag.h