]> git.hungrycats.org Git - linux/commit
rbd: remove linger unconditionally
authorAlex Elder <elder@inktank.com>
Thu, 6 Dec 2012 15:37:23 +0000 (09:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:49 +0000 (08:46 -0800)
commitf89f14aff0007cbed2648b10e78982a95802962a
tree84a29bf06a51c6b833cec8e6a303894a0ebfe8e8
parent495f76eadab76742d4060130604306bfaaafca24
rbd: remove linger unconditionally

(cherry picked from commit 61c74035626beb25a39b0273ccf7d75510bc36a1)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/osd_client.c