From: FUJITA Tomonori Date: Sat, 3 Mar 2007 00:55:55 +0000 (+0900) Subject: [SCSI] tgt: fix scsi command leak X-Git-Tag: v2.6.22-rc1~1015^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f8248cbadcd8cb1b737fc57a01bccca4fb7aec;p=pandora-kernel.git [SCSI] tgt: fix scsi command leak The failure to map user-space pages leads to scsi command leak. It can happens mostly because of user-space daemon bugs (or OOM). This patch makes tgt just notify a LLD of the failure with sense when blk_rq_map_user() fails. Signed-off-by: FUJITA Tomonori Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed