libceph: change from BUG to WARN for __remove_osd() asserts
authorIlya Dryomov <idryomov@redhat.com>
Wed, 5 Nov 2014 16:33:44 +0000 (19:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:40:54 +0000 (14:40 -0800)
commit54ff4c89a5445fa8f313a338c1cf5478317df154
tree31fa563e9cefcfae7f96c23fdf9df367f02bdb5f
parent5d3c6d27f48ce3b501c988bd0ab2232a0d4612c6
libceph: change from BUG to WARN for __remove_osd() asserts

commit cc9f1f518cec079289d11d732efa490306b1ddad upstream.

No reason to use BUG_ON for osd request list assertions.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/osd_client.c