From: David Dillow Date: Fri, 26 Nov 2010 18:02:21 +0000 (-0500) Subject: IB/srp: allow task management without a previous request X-Git-Tag: v2.6.38-rc1~406^2^8~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b6e31e4e46bf514c27fce38783ed5615cca01d;p=pandora-kernel.git IB/srp: allow task management without a previous request We can only have one task management comment outstanding, so move the completion and status to the target port. This allows us to handle resets of a LUN without a corresponding request having been sent. Meanwhile, we don't need to play games with host_scribble, just use it as the pointer it is. This fixes a crash when we issue a bus reset using sg_reset. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=13893 Reported-by: Bart Van Assche Reviewed-by: Bart Van Assche Signed-off-by: David Dillow --- Reading git-diff-tree failed