]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: make logical calculation functions return bool
authorZhang Zhuoyu <zhangzhuoyu@cmss.chinamobile.com>
Fri, 25 Mar 2016 09:18:39 +0000 (05:18 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:39 +0000 (01:15 +0200)
commitc63a7b387919e85159423be078e51d71e913b7aa
treec2d56a816c39928e5c82b6fde4d233b800f2a8fb
parent6979d8bb42ab8bb176a5d3d28715c03d4b2251b8
ceph: make logical calculation functions return bool

This patch makes serverl logical caculation functions return bool to
improve readability due to these particular functions only using 0/1
as their return value.

No functional change.

Signed-off-by: Zhang Zhuoyu <zhangzhuoyu@cmss.chinamobile.com>
fs/ceph/cache.c
fs/ceph/dir.c
include/linux/ceph/ceph_frag.h
include/linux/ceph/decode.h
include/linux/ceph/osdmap.h
net/ceph/ceph_common.c