]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07281a635eee603b0c2edc03fdd52d364e150d6f
tree62ca3d287fd1427033cdbce70e9cd673f896b4d9
parentd54c2a3f556c1fd46f3b595cc616e9fc6ec653ec
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