summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-03-15 02:13:49 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-15 02:13:49 +0000
commit80eb54008126309256b17148a0e0a4acfb839dd0 (patch)
tree914e71dc60ab673c493ed9352f435b1e6f193d82 /include/linux
parente2079fac446e903360f1c60f87b0099fd3e2a30b (diff)
parent13ef90e1bb7963ec2fb9d3680fe418a4b7dedfa3 (diff)
libceph: use BUG() instead of BUG_ON(1)
am: 13ef90e1bb Change-Id: I11386824d9c7c24ed221efd0da79f47bf57062bd
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ceph/osdmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h
index e55c08bc3a96..0abc56140c83 100644
--- a/include/linux/ceph/osdmap.h
+++ b/include/linux/ceph/osdmap.h
@@ -49,7 +49,7 @@ static inline bool ceph_can_shift_osds(struct ceph_pg_pool_info *pool)
case CEPH_POOL_TYPE_EC:
return false;
default:
- BUG_ON(1);
+ BUG();
}
}