From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 6/6] scsi: remove a useless get/put_device pair in scsi_requeue_command Date: Wed, 12 Feb 2014 12:40:24 +0100 Message-ID: <52FB5DA8.5050602@suse.de> References: <20140206184306.997538898@bombadil.infradead.org> <20140206184418.178186483@bombadil.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:38652 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751289AbaBLLkZ (ORCPT ); Wed, 12 Feb 2014 06:40:25 -0500 In-Reply-To: <20140206184418.178186483@bombadil.infradead.org> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig , James Bottomley Cc: linux-scsi@vger.kernel.org On 02/06/2014 07:43 PM, Christoph Hellwig wrote: > Avoid a spurious device get/put cycle by using scsi_put_command and f= olding > scsi_unprep_request into scsi_requeue_command. >=20 > Signed-off-by: Christoph Hellwig Makes one wonder why we didn't do this to start with. Acked-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 16746 (AG N=FCrnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html