summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ceph/messenger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c
index 2de711a0c037..f56aca302617 100644
--- a/net/ceph/messenger.c
+++ b/net/ceph/messenger.c
@@ -2352,6 +2352,7 @@ out:
if (!can_fail) {
pr_err("msg_new can't create type %d front %d\n", type,
front_len);
+ WARN_ON(1);
} else {
dout("msg_new can't create type %d front %d\n", type,
front_len);
OpenPOWER on IntegriCloud