From: FUJITA Tomonori Date: Tue, 13 Mar 2007 01:07:15 +0000 (+0900) Subject: [SCSI] tgt: remove the code to build sense X-Git-Tag: v2.6.22-rc1~1015^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52decafbe3fdca5e8430d4f58ffcec1f4a6302c;p=pandora-kernel.git [SCSI] tgt: remove the code to build sense tgt notifies a LLD of the failure with sense when it hits the user-space daemon bugs. However, tgt doesn't know anything about SCSI devices that initiators talks to. So it's impossible to send proper sense buffer (format and contents). This patch changes tgt not to notify a LLD of the failure with bogus sense. Instead, tgt just re-queues the failure command to the internal list so that it will be freed cleanly later on when the scsi_host is removed. Signed-off-by: FUJITA Tomonori Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed