rbd: remove linger unconditionally
authorAlex Elder <elder@inktank.com>
Thu, 6 Dec 2012 15:37:23 +0000 (09:37 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 17 Dec 2012 18:07:31 +0000 (12:07 -0600)
commit61c74035626beb25a39b0273ccf7d75510bc36a1
tree7544f2c85f9e10911b0c463fa6422db096c7054e
parent2fd82b9e92c2a718ae81fc987b4468ceeee6979b
rbd: remove linger unconditionally

In __unregister_linger_request(), the request is being removed
from the osd client's req_linger list only when the request
has a non-null osd pointer.  It should be done whether or not
the request currently has an osd.

This is most likely a non-issue because I believe the request
will always have an osd when this function is called.

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