libceph: assert both regular and lingering lists in __remove_osd()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 18 Jun 2014 09:02:12 +0000 (13:02 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:40:54 +0000 (14:40 -0800)
commit5d3c6d27f48ce3b501c988bd0ab2232a0d4612c6
tree5fed11f67dee27ce988f822a156aa3a3d37ab94a
parent813a631f08c7112f12a3da9f63da632c925a8b37
libceph: assert both regular and lingering lists in __remove_osd()

commit 7c6e6fc53e7335570ed82f77656cedce1502744e upstream.

It is important that both regular and lingering requests lists are
empty when the OSD is removed.

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