Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 28 Oct 2002 05:48:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 28 Oct 2002 05:48:28 -0500 Received: from dsl-62-3-75-185.zen.co.uk ([62.3.75.185]:13699 "EHLO giantx.co.uk") by vger.kernel.org with ESMTP id ; Mon, 28 Oct 2002 05:48:27 -0500 Date: Mon, 28 Oct 2002 10:54:33 +0000 From: Nyk Tarr To: Jens Axboe Cc: linux-kernel@vger.kernel.org Subject: Re: 2.5.44-ac4 scsi CDROMEJECT problem Message-ID: <20021028105433.GA18585@giantx.co.uk> References: <20021027223138.GA601@giantx.co.uk> <20021028081507.GD30429@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021028081507.GD30429@suse.de> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 828 Lines: 27 On Mon, Oct 28, 2002 at 09:15:07AM +0100, Jens Axboe wrote: > On Sun, Oct 27 2002, Nyk Tarr wrote: > > Hi > > > > This patch of Jens Axboe was missing from 2.5.44-ac4. Was this by design > > or accidental? > > Please check blk_do_rq(), it sets rq_dev and rq_disk. So it's indeed > intentional. Since you ask, do you have problems ejecting? Yup. I can only see rq -> rq_dev being set in sg_io(), but then again, you could write the amount of C I know on a small postage stamp. ^_^ recompiled with the two assignments in under CDROMEJECT it works fine. Thanks -- /__ \_|\/ /\ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/