]> 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)
commit3b33f692c84c28cc8178aaeeb9264d82b48787f1
treec2d56a816c39928e5c82b6fde4d233b800f2a8fb
parent224a7542b8fdde3cc7c600f8b0870c5541a9f678
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