mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
libceph: use BUG() instead of BUG_ON(1)
am: 290215a2ab
Change-Id: I57b1ea589696f8f4998ca44b73f4fbb7dfc2e5d2
This commit is contained in:
@@ -57,7 +57,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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user