ceph: fix use after free on mds __unregister_request
authorSage Weil <sage@newdream.net>
Mon, 29 Mar 2010 04:22:50 +0000 (21:22 -0700)
committerSage Weil <sage@newdream.net>
Mon, 29 Mar 2010 04:23:56 +0000 (21:23 -0700)
commit94aa8ae13db2ecf2ec1b4e65a65d3fe92b468e0e
tree07ab734202675a9ff3bb991d9732a392061eacee
parent23ab15ad7a9d042afa7303b735b6e24faa607241
ceph: fix use after free on mds __unregister_request

There was a use after free in __unregister_request that would trigger
whenever the request map held the last reference.  This appears to have
triggered an oops during 'umount -f' when requests are being torn down.

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