ceph: unregister osd request on failure
authorSage Weil <sage@newdream.net>
Tue, 11 May 2010 16:53:18 +0000 (09:53 -0700)
committerSage Weil <sage@newdream.net>
Tue, 11 May 2010 16:53:18 +0000 (09:53 -0700)
commit0ceed5db321ac0f9782e77dda476ebe28a8e2199
tree356f6a3f2dc26ba04589e9abd603139c62094730
parent54ad023ba8108d0163acc931ed4b5e4a8a3a7327
ceph: unregister osd request on failure

The osd request wasn't being unregistered when the osd returned a failure
code, even though the result was returned to the caller.  This would cause
it to eventually time out, and then crash the kernel when it tried to
resend the request using a stale page vector.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osd_client.c