From: Sage Weil Date: Mon, 27 Sep 2010 17:18:52 +0000 (-0700) Subject: ceph: avoid null deref in osd request error path X-Git-Tag: v2.6.36-rc8~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bc18876ba01fd4a077db6e1ed27201e4bda8864;p=pandora-kernel.git ceph: avoid null deref in osd request error path If we interrupt an osd request, we call __cancel_request, but it wasn't verifying that req->r_osd was non-NULL before dereferencing it. This could cause a crash if osds were flapping and we aborted a request on said osd. Reported-by: Henry C Chang Signed-off-by: Sage Weil --- Reading git-diff-tree failed