Skip to content

net: ceph: messenger: replace uses of BUG_ON() with WARN_ON()

Ioana Ciornei ceph-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: ceph: messenger: change BUG_ON() to WARN_ON() from ceph_con_in_msg_alloc()net/ceph/messenger.c+12 -30 replies
2/2net: ceph: messenger: replace BUG_ON() with WARN_ON() in con_flag_* functionsnet/ceph/messenger.c+20 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] net: ceph: messenger: replace uses of BUG_ON() with WARN_ON()

This patchset replaces some uses of BUG_ON() with WARN_ON() and an approapriate exit since it is advisable not to crash the machin in every case.

Ioana Ciornei (2):
net: ceph: messenger: change BUG_ON() to WARN_ON() from

    ceph_con_in_msg_alloc()

net: ceph: messenger: replace BUG_ON() with WARN_ON() in con_flag_*
functions

 net/ceph/messenger.c | 40 ++++++++++++++++++++++++++++++++--------
 1 file changed, 32 insertions(+), 8 deletions(-)
Signature · 1 line
2.6.4