android_kernel_sony_sdm845/include/linux/ceph
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnd Bergmann 290215a2ab libceph: use BUG() instead of BUG_ON(1)
commit d24cdcd3e40a6825135498e11c20c7976b9bf545 upstream.

I ran into this compile warning, which is the result of BUG_ON(1)
not always leading to the compiler treating the code path as
unreachable:

    include/linux/ceph/osdmap.h: In function 'ceph_can_shift_osds':
    include/linux/ceph/osdmap.h:62:1: error: control reaches end of non-void function [-Werror=return-type]

Using BUG() here avoids the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:51 +08:00
..
auth.h libceph: rename ceph_entity_name_encode() -> ceph_auth_entity_name_encode() 2016-08-24 23:49:15 +02:00
buffer.h
ceph_debug.h
ceph_features.h libceph: revamp subs code, switch to SUBSCRIBE2 protocol 2016-03-25 18:51:38 +01:00
ceph_frag.h ceph: make logical calculation functions return bool 2016-05-26 01:15:39 +02:00
ceph_fs.h ceph: handle CEPH_SESSION_REJECT message 2016-10-03 16:13:50 +02:00
ceph_hash.h
cls_lock_client.h libceph: support for lock.lock_info 2016-08-24 23:49:15 +02:00
debugfs.h
decode.h libceph: add start en/decoding block helpers 2016-07-28 02:55:36 +02:00
libceph.h rbd: add 'client_addr' sysfs rbd device attribute 2016-08-24 23:49:16 +02:00
mdsmap.h
messenger.h
mon_client.h libceph: support for blacklisting clients 2016-08-24 23:49:15 +02:00
msgpool.h libceph: fix some missing includes 2016-07-28 02:55:35 +02:00
msgr.h
osd_client.h libceph: initialize last_linger_id with a large integer 2016-11-10 20:13:08 +01:00
osdmap.h libceph: use BUG() instead of BUG_ON(1) 2017-03-15 10:02:51 +08:00
pagelist.h
rados.h libceph: support for sending notifies 2016-05-26 01:15:28 +02:00
string_table.h libceph: introduce reference counted string 2016-07-28 02:55:37 +02:00
types.h