From: Boaz Harrosh Date: Sun, 24 May 2009 17:05:43 +0000 (+0300) Subject: [SCSI] libosd: Use REQ_QUIET requests. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03306793e686fd895ab8fa095bb9ec33658ea53a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [SCSI] libosd: Use REQ_QUIET requests. libosd has it's own sense decoding and printout. Don't let scsi_lib duplicate that printout. (Which is done wrong in regard to osd commands) Signed-off-by: Boaz Harrosh Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c index 3959797149fd..71341ad32344 100644 --- a/drivers/scsi/osd/osd_initiator.c +++ b/drivers/scsi/osd/osd_initiator.c @@ -1340,6 +1340,8 @@ static int _init_blk_request(struct osd_request *or, or->request = req; req->cmd_type = REQ_TYPE_BLOCK_PC; + req->cmd_flags |= REQ_QUIET; + req->timeout = or->timeout; req->retries = or->retries; req->sense = or->sense;