libceph: register request before unregister linger
authorAlex Elder <elder@inktank.com>
Thu, 6 Dec 2012 13:22:04 +0000 (07:22 -0600)
committerAlex Elder <elder@inktank.com>
Thu, 20 Dec 2012 16:56:39 +0000 (10:56 -0600)
commitc89ce05e0c5a01a256100ac6a6019f276bdd1ca6
tree400e6f30ae9f256374d51fb2ce084d07eaa0863c
parenta978fa20fb657548561dddbfb605fe43654f0825
libceph: register request before unregister linger

In kick_requests(), we need to register the request before we
unregister the linger request.  Otherwise the unregister will
reset the request's osd pointer to NULL.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c