Alex Elder 7d5f24812b ceph: don't reference req after put
In __unregister_request(), there is a call to list_del_init()
referencing a request that was the subject of a call to
ceph_osdc_put_request() on the previous line.  This is not
safe, because the request structure could have been freed
by the time we reach the list_del_init().

Fix this by reversing the order of these lines.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-off-by: Sage Weil <sage@inktank.com>
2012-12-17 08:37:19 -06:00
..
2012-07-30 18:15:23 -07:00
2012-04-15 12:44:40 -04:00
2011-03-29 12:11:16 -07:00
2010-11-21 10:04:04 -08:00
2011-07-19 11:25:04 -07:00
2011-10-25 16:10:16 -07:00
2012-10-01 14:30:49 -05:00