Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265687AbUA1BCN (ORCPT ); Tue, 27 Jan 2004 20:02:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265780AbUA1BCN (ORCPT ); Tue, 27 Jan 2004 20:02:13 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:63202 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S265687AbUA1BCI (ORCPT ); Tue, 27 Jan 2004 20:02:08 -0500 Date: Wed, 28 Jan 2004 02:02:06 +0100 From: Jens Axboe To: Pascal Schmidt Cc: linux-kernel@vger.kernel.org Subject: Re: MO: opening for write in cdrom.c Message-ID: <20040128010206.GE11683@suse.de> References: <20040128000216.GD11683@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 768 Lines: 22 On Wed, Jan 28 2004, Pascal Schmidt wrote: > On Wed, 28 Jan 2004, Jens Axboe wrote: > > > Alright, this is your version plus write protect io error handling. > > Could you check if this works for you? > > Works for me. I've tested the fallback by making mo_open_write always > succeed and then inserting a write-protected disc. > > I now only get one error report from the drive, the rest of the > writes are correctly denied before hitting the drive. Excellent, thanks a lot for the work and testing. -- Jens Axboe - 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/